
#9213: Maybe important CPP warnings on ghcautoconf.h -------------------------------------+------------------------------------- Reporter: asr | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.12.1 Component: Compiler | Version: 7.10.1-rc2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by thoughtpolice): * milestone: 7.10.1 => 7.12.1 Comment: Moving to 7.12 for now. FWIW, I can't quite tell if `cpphs` correctly handles this `#if define` syntax (which I assume traditional CPP does), meaning maybe upstream should fix it, but I don't think at the moment it's going to break anything severe based on this example. OTOH, this can probably be mitigated by modifying the rules to generate `ghcautoconf.mk`, which is actually a copy of some autoconf output created during the build; a `sed` invocation could probably do it - the rule to generate ghcautoconf is in `includes/ghc.mk` (search for `__GHCAUTOCONF_H__`). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9213#comment:13 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler