make: buildtest with "-Wall -Wextra -Werror"#1121
make: buildtest with "-Wall -Wextra -Werror"#1121Kijewski wants to merge 1 commit intoRIOT-OS:masterfrom Kijewski:buildtest-werror
Conversation
|
+1 to have this PR merged until next release (make it a release goal) |
|
Please rebase |
|
Rebased. |
|
Please rebase. |
|
Rebased. |
1 similar comment
|
Rebased. |
|
I don't think we can achieve this for the upcoming release already. Postponed. |
9f184dd to
45554bf
Compare
|
How's the status on this front? |
|
Master still has issues. |
|
Closed as memo for now. Reopen if you object. |
|
What's the reason for closing? |
|
I would like to see the CI build without warnings as a long term goal. |
|
(fails already for the new power management T.T) |
|
=> postponed I guess. |
And how would you do it? |
Same way we did cppcheck? |
|
So should we tackle this for 2017.07? |
How about |
... and in boards/ and cpu/ |
|
Conventional pre-release ping. ;-) |
|
I suggest to close as memo as it is not mergeable anymore and use #7919 as a replacement. |
|
Closed as memo because the original author is lazy. |
DO NOT MERGE UNTIL ALL WARNINGS ARE FIXED IN MASTER
With almost all warnings fixed or at least being addressed in an open PR, I think we should strive to keep it that way.
This PR makes
buildtestmore pedantic by supplying-Wall -Wexta -Werrorby default.This can be disabled through
make W_ALL=0 W_EXTRA=0 W_ERROR=0, resp., or withmake W_NONE=1, which disables every extra flag.With
make PEDANTIC=1 PEDANTIC_ERRORS=1you can make the buildtest even more pedantic.Also the generic make variableW_FLAGSis added, through which extraCFLAGScan be supplied in the normalmake all.For non-buildtest builds you can supply
W_NONE=0and/or the individual flags,too