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

chore(msvc): replace /W3 with /W4 #4175

Merged
merged 2 commits into from
Nov 21, 2022

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Nov 21, 2022

Pull request checklist:

  • CHANGELOG.md was updated, if applicable

Description

If you looked through the build logs in CI, you might have noticed a warning on almost all files from cl: Command line warning D9025 : overriding '/W3' with '/W4'. This is because some project (I suspect websocketpp) is adding /W3 to CMAKE_CXX_FLAGS.

We're doing the same fix here that googletest does (just with CMAKE_CXX_FLAGS, as that's enough).

@kornes
Copy link
Contributor

kornes commented Nov 21, 2022

tested, warnings spam is gone, everything still works

Copy link
Collaborator

@Felanbird Felanbird left a comment

Choose a reason for hiding this comment

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

I forgot what building Chatterino was like without an error on every single line

@pajlada pajlada enabled auto-merge (squash) November 21, 2022 18:37
@pajlada pajlada merged commit ff4899f into Chatterino:master Nov 21, 2022
@Nerixyz Nerixyz deleted the chore/msvc-warnings branch November 21, 2022 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants