[GHC] #10635: -fwarn-redundant-constraints should not be part of -Wall

GHC ghc-devs at haskell.org
Thu Aug 11 13:22:44 UTC 2016


#10635: -fwarn-redundant-constraints should not be part of -Wall
-------------------------------------+-------------------------------------
        Reporter:  Lemming           |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  7.11
  checker)                           |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect         |  Unknown/Multiple
  warning at compile-time            |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #9939, #9973,     |  Differential Rev(s):
  #10100, #10183, #11370             |
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by svenpanne):

 Replying to [comment:30 Lemming]:
 > I don't like CPP and would prefer that GHC gets a switch to disable
 warnings about certain pragmas.
 > This was proposed in #2867. It should be possible to disable those
 warnings globally in the Cabal file.

 While this might be a worthwhile goal, it doesn't help with the current
 situation at all: Current and past GHCs don't have that feature, so even
 if this is implemented, we will have to live with CPP for this purpose for
 quite a few years to come...

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


More information about the ghc-tickets mailing list