[GHC] #9457: hsc2hs breaks with `--cflag=-Werror` in cross-compilation mode

GHC ghc-devs at haskell.org
Sun Apr 5 20:05:29 UTC 2015


#9457: hsc2hs breaks with `--cflag=-Werror` in cross-compilation mode
-------------------------------------+-------------------------------------
        Reporter:  rwbarton          |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  hsc2hs            |                 Version:  7.9
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:  #10237            |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by rwbarton):

 * related:   => #10237


Comment:

 #10237 fixes the immediate issue but I'm going to leave this open for a
 more robust solution. It's pretty bad that hsc2hs silently gives the wrong
 answer when there are spurious warnings and that we have no automated
 tests that would catch something going wrong in the cross-compilation code
 path.

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


More information about the ghc-tickets mailing list