Add option to make selected warnings errors
It would be great if GHC offered a -ferror-*
flag for every -fwarn-*
flag, that turns the given type of warning into an error.
For example, I would like to always error on uninitialized record fields, but don't want to go full -Werror
.
Trac metadata
Trac field | Value |
---|---|
Version | 7.8.2 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | mail@nh2.me |
Operating system | |
Architecture |