[GHC] #13666: The fake gcc can't handle trailing backslashes

GHC ghc-devs at haskell.org
Mon May 8 19:14:16 UTC 2017


#13666: The fake gcc can't handle trailing backslashes
---------------------------------+----------------------------------------
        Reporter:  niklasl       |                Owner:  (none)
            Type:  bug           |               Status:  new
        Priority:  low           |            Milestone:
       Component:  Driver        |              Version:  8.0.1
      Resolution:                |             Keywords:
Operating System:  Windows       |         Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:                |  Differential Rev(s):
       Wiki Page:                |
---------------------------------+----------------------------------------
Description changed by niklasl:

@@ -2,2 +2,2 @@
- -Iinclude\ or -Llibs\. `realgcc` handles them fine. It seems to insert as
- spurious quote or terminating a quote too early.
+ `-Iinclude\` or `-Llibs\`. `realgcc` handles them fine. It seems to insert
+ as spurious quote or terminating a quote too early.

New description:

 The fake gcc will choke on trailing backslashes in arguments, like
 `-Iinclude\` or `-Llibs\`. `realgcc` handles them fine. It seems to insert
 as spurious quote or terminating a quote too early.

 Error message:
 {{{
 .\test-ghc.c:1:20: fatal error: test-inc"/header.h: Invalid argument
 compilation terminated.
 }}}

 Found here: [https://github.com/idris-lang/Idris-dev/issues/3801]

--

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


More information about the ghc-tickets mailing list