
#8148: ./configure IGNORES --with-gcc=gcc-4.8, can't build head on os x 10.8 with xcode 5 installed ---------------------------------+---------------------------------- Reporter: carter | Owner: Type: bug | Status: new Priority: highest | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ---------------------------------+---------------------------------- Comment (by thoughtpolice): Thanks. The GCC invocation is certainly a bug; we definitely want to use the configured C compiler. As for Clang, can you please test this: {{{ $ clang -E -undef -traditional -o - - #define FOOBAR(a) test(a, # a) FOOBAR(xyz) ^D }}} Please specify the exact path to your `clang` to be 100% sure. This tests the behavior of hashes in `-traditional` mode. If everything is OK, you should see output like this: {{{ # 1 "<stdin>" # 1 "<command-line>" # 1 "<stdin>" test(xyz, # xyz) }}} If you see output where the hash operator stringifies the argument, then there is a problem. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8148#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler