-
Notifications
You must be signed in to change notification settings - Fork 9
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
1201: Add -Werror for CI builds that are warning clean #1209
Conversation
I was overly optimistic with this because I was using I will take a quick look at how much work it would take to make basic gcc and clang builds to pass |
4998969
to
5b465d9
Compare
There's a funny quirk of compiler diagnostics, that some of them only become apparent with optimizations enabled, because the analysis that makes the need for a diagnostic apparent is part of an optimization pass. Those passes are skipped with optimizations disabled for the sake of performance. |
5b465d9
to
702b5cd
Compare
Codecov Report
@@ Coverage Diff @@
## develop #1209 +/- ##
========================================
Coverage 80.99% 81.00%
========================================
Files 730 730
Lines 28046 28044 -2
========================================
Hits 22716 22716
+ Misses 5330 5328 -2
|
91e17f6
to
aef521b
Compare
note to self:
|
e651f3d
to
2bfe0b4
Compare
2bfe0b4
to
9508eb9
Compare
I have fixed a couple of simple warnings which allowed to enable
|
note: this is disabled by default, enabled only for selected builds - up for debate if we should turn this around |
- add configuration variables for CMake, Docker and docker-compose (off by default) - enable -Werror for suitable CI jobs
4fea380
to
5dcbcbd
Compare
158254d
to
5253f7f
Compare
For |
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.
Overall, looks good. I think the default compiler should probably be changed back unless there was a reason.
ecc656b
to
a86ca9b
Compare
pragma GCC diagnostic ignored "-Wunused-variable" does not work with this version of the compiler.
d5f28aa
to
ce570a7
Compare
|
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.
Looks good to me
fixes #1201