Skip to content

Make -Werror and /WX optional #569

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

Merged
merged 1 commit into from
Mar 21, 2025
Merged

Make -Werror and /WX optional #569

merged 1 commit into from
Mar 21, 2025

Conversation

solidpixel
Copy link
Contributor

@solidpixel solidpixel commented Mar 21, 2025

The current build forces warnings as errors, but this can make the build fragile when a
downstream project uses a different compiler which generates new warnings.

This PR leaves warnings as errors on by default, but allows a user to turn it off in the
CMake configuration step.

@solidpixel solidpixel merged commit 8837f91 into main Mar 21, 2025
9 checks passed
@solidpixel solidpixel deleted the werror_opt branch March 21, 2025 22:26
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.

1 participant