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

Add /W4 to Windows CI builds #269

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Add /W4 to Windows CI builds #269

wants to merge 5 commits into from

Conversation

chiphogg
Copy link
Contributor

This should help catch a wider variety of warnings.

This should help catch a wider variety of warnings.
@@ -43,5 +43,5 @@ jobs:
- name: Build and run test
shell: cmd
run: |
cl.exe /std:c++14 single-file-test.cc
cl.exe /std:c++14 /W4 single-file-test.cc
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking of adding the warnings in CMake and building and running through that. We would probably want to add /WX to treat the warnings as errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants