-
Notifications
You must be signed in to change notification settings - Fork 104
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
MSVC uses C++ compiler for C code? #1250
Comments
Btw, when commenting those lines czmq builds fine, with some conversion warnings though. |
Git blame tells my I'm responsible for that particular piece of configuration 😆 This configuration was copied from czmq's CMakefile when zproject came to life. I'm not sure if the comment about MSVC being out of date still holds. If you feel it unnecessary remove it! |
I think MSVC only supports C89 from what I know so indeed it's very old. I could remove it but it probably will influence other projects. In czmq it only generates more warnings which then need to be fixed. For my purpose it did resolve some issues with the __cplusplus define but I don't know where it will bite us. Any others thoughts about this? |
https://devblogs.microsoft.com/cppblog/c11-and-c17-standard-support-arriving-in-msvc/ Microsoft is working on it apparently |
Why is in Cmake the compiler forced to use the C++ compiler?
This gives errors when using ifdef cplusplus from what I've seen so far.
What was the reasoning behind this? Is it really needed?
The text was updated successfully, but these errors were encountered: