
#14946: GHC Calls CPP for HS with -undef -------------------------------------+------------------------------------- Reporter: Phyx- | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Incorrect result Unknown/Multiple | at runtime Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- GHC Is calling the C preprocessor when processing HS files with `-undef` which unsets and compiler pre-defines. Essentially it means you cannot use any normal compiler defines to check for platform or intrinsics support. Is this really the intended behavior? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14946 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler