-
Notifications
You must be signed in to change notification settings - Fork 95
Better MSVC support #184
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
Better MSVC support #184
Conversation
|
Since you are now starting to add specific MSVC flags to the cmake files can you add a GitHub action that compiles with MSVC and runs the tests please? |
|
I'd be happy to. However, tests will fail until this and the other PRs are merged. Is that OK? |
I went ahead and created #188. |
|
Cool #188 works, we can work towards getting that to pass with each PR. |
Update: Require newer CMake version to properly merge warning flags. Otherwise, cl complains that both /W3 (the default warning level) and /W4 are passed. Newer CMake fixes this.
…cified in GCC-specific code). Fix: Add MSVC flags to produce more warnings.
|
Fantastic! |
|
Sorry, looks like this has a conflict now with the other two PRs that just merged, would you mind resolving them? |
# Conflicts: # CMakeLists.txt # test/CMakeLists.txt
|
No problem, done! |
This adds warning flags for MSVC and cleans up minor complains when it's passed GCC-only flags.