[GHC] #12752: GHC should be able to warn on unsafe CPP usage

GHC ghc-devs at haskell.org
Sat Oct 22 20:26:46 UTC 2016


#12752: GHC should be able to warn on unsafe CPP usage
-------------------------------------+-------------------------------------
        Reporter:  erikd             |                Owner:  erikd
            Type:  feature request   |               Status:  closed
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.1
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  phab:D2626
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 Well okay, but you could also just use `-optP -Wundef` since forever.

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


More information about the ghc-tickets mailing list