
#13666: The gcc wrapper 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: @@ -1,1 +1,1 @@ - The fake gcc will choke on trailing backslashes in arguments, like + The gcc wrapper will choke on trailing backslashes in arguments, like New description: The gcc wrapper 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:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler