#1871: compile warning appears to be treated as error
----------------------+-----------------------------------------------------
Reporter: duncan | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 6.8.1
Severity: normal | Resolution: invalid
Keywords: | Difficulty: Unknown
Testcase: | Architecture: x86_64 (amd64)
Os: Linux |
----------------------+-----------------------------------------------------
Comment (by duncan):
Ohh yes. Ok.
I wonder if we should make hackage warn about -Werror in .cabal files
since it makes them rather fragile and users who don't realise -Werror is
there get quite confused. Alternatively (or in addition) perhaps we should
have ghc print an error for the case that a there were warnings and
they're being treated as errors. ie an extra error at the end to say that
compilation is stopping due to preceding warnings and them being treated
as errors because of the -Werror flag.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1871#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs