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=orphanswould only promote-Worphanswarnings into errors
-Wall -Werror -Wno-error=missing-methodswould promote all warnings //except//-Wmissing-methodsinto 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 |