[GHC] #8869: External preprocessor not used after TH name quote

GHC ghc-devs at haskell.org
Sun Mar 9 21:46:40 UTC 2014


#8869: External preprocessor not used after TH name quote
-----------------------------+----------------------------------
        Reporter:  myrix     |            Owner:
            Type:  bug       |           Status:  closed
        Priority:  normal    |        Milestone:
       Component:  Compiler  |          Version:  7.4.1
      Resolution:  invalid   |         Keywords:
Operating System:  Linux     |     Architecture:  x86_64 (amd64)
 Type of failure:  Other     |       Difficulty:  Unknown
       Test Case:            |       Blocked By:
        Blocking:            |  Related Tickets:
-----------------------------+----------------------------------
Changes (by simonpj):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 I suspect that cpp treats the `'id` as opening a quotation, and doesn't
 interpret the __FILE__ inside that quote.  So this isn't a bug in GHC,
 more just that cpp isn't doing what you want.

 Reopen if you think it's a bug in GHC

 Simon

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


More information about the ghc-tickets mailing list