Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revisit _stat for MSVC 14.0 (Visual Studio 2015) #4473

Open
beutlich opened this issue Oct 3, 2024 · 0 comments · May be fixed by #4483
Open

Revisit _stat for MSVC 14.0 (Visual Studio 2015) #4473

beutlich opened this issue Oct 3, 2024 · 0 comments · May be fixed by #4483
Assignees
Labels
L: C-Sources Issue addresses Modelica/Resources/C-Sources
Milestone

Comments

@beutlich
Copy link
Member

beutlich commented Oct 3, 2024

It seems this comment for _stat (and the subsequent backslash workaround handling)

/* For some reason _stat requires "a:\" and "a:\test1" but fails
* on "a:" and "a:\test1\", respectively. It could be handled in the
* Modelica code, but seems better to have it here.
*/

got obsoleted by Visual Studio 2015 according to https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/stat-functions?view=msvc-140

@beutlich beutlich added the L: C-Sources Issue addresses Modelica/Resources/C-Sources label Oct 3, 2024
@beutlich beutlich self-assigned this Oct 4, 2024
beutlich added a commit to beutlich/ModelicaStandardLibrary that referenced this issue Oct 20, 2024
@beutlich beutlich added this to the MSL4.2.0 milestone Oct 27, 2024
beutlich added a commit to beutlich/ModelicaStandardLibrary that referenced this issue Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: C-Sources Issue addresses Modelica/Resources/C-Sources
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant