[GHC] #12056: Too aggressive `-w` option

GHC ghc-devs at haskell.org
Fri May 13 16:04:05 UTC 2016


#12056: Too aggressive `-w` option
-------------------------------------+-------------------------------------
           Reporter:  asr            |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.0.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  Incorrect
  Unknown/Multiple                   |  warning at compile-time
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 By running

 {{{
 ghc -w -Wunrecognised-warning-flags -Wfoo Main.hs
 }}}

 I would expect the warning

 {{{
 on the commandline: warning: unrecognised warning flag: -Wfoo
 }}}

 however this warning isn't reported.

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


More information about the ghc-tickets mailing list