[GHC] #9399: CPP does not process test case enum01.hs correctly

GHC ghc-devs at haskell.org
Tue Jun 16 21:40:25 UTC 2015


#9399: CPP does not process test case enum01.hs correctly
-------------------------------------+-------------------------------------
        Reporter:  jrp               |                   Owner:  rwbarton
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Test Suite        |                 Version:  7.8.3
      Resolution:                    |                Keywords:  cpp
Operating System:  MacOS X           |            Architecture:  x86_64
 Type of failure:  GHC rejects       |  (amd64)
  valid program                      |               Test Case:  enum01.hs
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:  Phab:D957
-------------------------------------+-------------------------------------

Comment (by Austin Seipp <austin@…>):

 In [changeset:"b98ca17e12c7efdc906f4901f25e6263a5399be1/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="b98ca17e12c7efdc906f4901f25e6263a5399be1"
 Make enum01/enum02/enum03 tests clang-compatible

 ... by entirely replacing the use of CPP by a custom preprocessor;
 clang -E -traditional has no stringification mechanism at all.

 Reviewed By: thomie, austin

 Differential Revision: https://phabricator.haskell.org/D957

 GHC Trac Issues: #9399
 }}}

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


More information about the ghc-tickets mailing list