[GHC] #9037: Add option to make selected warnings errors

GHC ghc-devs at haskell.org
Thu Apr 24 21:58:53 UTC 2014


#9037: Add option to make selected warnings errors
------------------------------------+-------------------------------------
       Reporter:  nh2               |             Owner:
           Type:  feature request   |            Status:  new
       Priority:  normal            |         Milestone:
      Component:  Compiler          |           Version:  7.8.2
       Keywords:                    |  Operating System:  Unknown/Multiple
   Architecture:  Unknown/Multiple  |   Type of failure:  None/Unknown
     Difficulty:  Unknown           |         Test Case:
     Blocked By:                    |          Blocking:
Related Tickets:                    |
------------------------------------+-------------------------------------
 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`.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9037>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list