Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Silence all warnings and switch on Werror #763
Silence all warnings and switch on Werror #763
Changes from all commits
166567f
450df7f
92514dc
7f0a92b
5f67087
360a210
44e1b48
d8f3252
31a7cd8
da2c823
1448d81
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, I really think a quiet build should just set
Wno-deprecated-declarations
andWno-unused-but-set-variable'
, and the rest should be fixed. PerhapsWno-unknown-pragmas
can remain as well.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about quiet and really-quiet?
On macOS there are many deprecated warnings (since openGL is deprecated, but it still works), and in some cases we do have "unused values" e.g. table
++row
counters. which are fine. So we can safely hide those.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just had lots of gtk warnings about it's own deprecations and was trying to get an overview about what else is warned about. The nice thing about the quiet-build approach is that you can remove one warning at a time and fix it because it's only a few cases per warning (instead of hundreds of errors flying by). The nice thing about Werror would be that no fixed warning would ever be introduced again by new code.