[GHC] #9978: DEBUG is always replaced as 1 when CPP pragma is on

GHC ghc-devs at haskell.org
Mon Sep 21 18:14:20 UTC 2015


#9978: DEBUG is always replaced as 1 when CPP pragma is on
-------------------------------------+-------------------------------------
        Reporter:  danilo2           |                   Owner:
            Type:  bug               |                  Status:  closed
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.8.4
  (Parser)                           |
      Resolution:  worksforme        |                Keywords:  cpp
Operating System:  Unknown/Multiple  |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by thomie):

 * status:  infoneeded => closed
 * resolution:   => worksforme


Comment:

 As I said, I can not reproduce this issue. Maybe check if the output of
 `ghc --info` contains `-DDEBUG` for some reason, that would explain it.

 Please reopen if you can reproduce this issue with ghc-7.10.2. Thanks.

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


More information about the ghc-tickets mailing list