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

GHC ghc-devs at haskell.org
Tue Jun 16 20:09:57 UTC 2015


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

 * status:  new => infoneeded


Comment:

 I can not reproduce your problem. Can you paste the output of the
 following command with your program above:
 `ghc-7.8.4 -E T9978.hs -fforce-recomp -v`. Check if it contains `-DDEBUG`,
 and why.

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


More information about the ghc-tickets mailing list