Implement fine-grained `-Werror=...` facility
- ..copied from Design/Warnings:
Introduce variant of -Werror
(c.f. GCC's -Werror=*
) which allows to specify the individual warnings to be promoted to errors, e.g.
-
-Wall -Werror=orphans
would only promote-Worphans
warnings into errors
-Wall -Werror -Wno-error=missing-methods
would promote all warnings //except//-Wmissing-methods
into errors
TODO: specify semantics a bit more exactly (the basic idea is to follow gcc/clang as much as sensible, and only deviate where it's necessary)
Trac metadata
Trac field | Value |
---|---|
Version | |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |