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

Revert enabling "warnings as errors" in the default build #248

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

oprypin
Copy link
Member

@oprypin oprypin commented Aug 2, 2023

@ChrisThrasher
Copy link
Member

ChrisThrasher commented Aug 4, 2023

This is overkill. Remove -Werror if you're worried about that. Better yet add a new option like SFML does that lets users disable warnings as errors. It's a very bad idea to entirely remove compiler warnings because it's increasing the chances of bugs or other code smells getting in. It's not feasible to write high quality C++ without a solid set of compiler warnings checking your work at all times.

@ChrisThrasher
Copy link
Member

7da7dfe

Here's the fix you actually want. Our list of warnings is only going to grow so it's good to have this option for those who for whatever reason are seeing a warning that isn't already caught in CI.

@oprypin
Copy link
Member Author

oprypin commented Aug 8, 2023

I want to make that release happen, and take no risks in it.

@oprypin oprypin merged commit 4136c7e into master Aug 8, 2023
22 checks passed
@oprypin oprypin deleted the revert-wall branch August 8, 2023 18:15
@ChrisThrasher
Copy link
Member

Merging this PR just added a lot more risk to all future development

@ChrisThrasher
Copy link
Member

See #251

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