[GHC] #11119: WERROR in build.mk doesn't work

GHC ghc-devs at haskell.org
Sat Nov 21 11:45:54 UTC 2015


#11119: WERROR in build.mk doesn't work
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Build System      |              Version:  7.11
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by thomie):

 I think you are experiencing the change from
 31bcf9b62ceaed98bdd3b7605e68d315bcff0c8a: "Apply WERROR only to stage2 HC
 options".

 You can add the following to your mk/build.mk file (below everything else)
 to get the old behaviour back:
 {{{
 GhcStage1HcOpts += -Werror
 }}}

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


More information about the ghc-tickets mailing list