[GHC] #12414: Ill-formed or incorrect multiline string in compiler/main/GHC.hs
GHC
ghc-devs at haskell.org
Wed Jul 20 22:31:49 UTC 2016
#12414: Ill-formed or incorrect multiline string in compiler/main/GHC.hs
-------------------------------------+-------------------------------------
Reporter: ifigueroap | Owner:
Type: bug | Status: closed
Priority: lowest | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: invalid | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Other | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by ifigueroap):
Replying to [comment:8 rwbarton]:
> Oh, cpphs doesn't seem to understand the line continuation syntax. I
guess you need a real C preprocessor.
Thanks, you are right, I just run
{{{
gcc -E -I../ -I../stage1 GHC.c
}}}
(with a dirty rename to .c) in order to use a real C preprocessor, and
althought I got several errorrs, the particular string is now in 1 line.
Thanks!
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12414#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list