Treat warnings as errors#294
Conversation
License Check Results🚀 The license check job ran with the Bazel command: bazel run --lockfile_mode=error //:license-checkStatus: Click to expand output |
|
The existing warnings should be fixed by #293 |
|
The created documentation from the pull request is available at: docu-html |
|
I wonder if we should add further warnings for compilation, e.g. like COM does https://github.com/eclipse-score/communication/blob/570e34715b2d3156d2ae2cc4686be29a8c92f3ef/MODULE.bazel#L97 But we should also avoid that users will inherit those compiler flags from our targets. |
I've enabled There is also
Flags set in |
|
QNX build fails with the following error: I wonder if this will become an issue that new compiler warning in any dependency may break our build in the future. Is there a possibility to limit the warnings only to our own code? |
|
Just pushed a new implementation which should not apply the flags to our dependencies, nor to anything depending on us. However it means we have to call a different rule which wraps the standard |
This ensures that warnings are not ignored, by causing the build to fail.