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
Compile on Windows with Clang 14.0.6 #1634
Comments
Which of |
as you can tell from the change I made, |
Would you mind posting the output of your CMake configure step? ( |
Here you go:
|
Just tried out your
Might not be compiler specific but Windows specific, perhaps related to #1381? |
Yeah, I haven't found a fix yet for this. Good find on #1381. From the limited investigation I've done so far, it looks like static initialization for the tests is running before |
That's indeed also what I noticed when doing a trial run on a project that previously used GCC + MinGW. I'm not that familiar with C++ (mainly used C at my current job), so I couldn't really wrap my head around it as I would have expected the linker to determine the correct pointer. |
I'm getting a similar error as in #1405 when trying to build the current
master
branch on my Windows machine with Clang 14.0.6 (via CMake / ninja).Example of the error I got:
I fixed the compilation itself by changing the pre-processor check for
fopen_s
andlocaltime_s
from:to
The next failure I run into is:
Not sure how to proceed on getting this working.
Is this a combination also tested in the CI environment of CppUTest?
The text was updated successfully, but these errors were encountered: