
#7678: GHC should compile cleanly with clang ---------------------------------+------------------------------------------ Reporter: thoughtpolice | Owner: thoughtpolice Type: bug | Status: new Priority: high | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Keywords: clang | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: Building GHC failed Difficulty: Unknown | Testcase: Blockedby: | Blocking: 7602 Related: | ---------------------------------+------------------------------------------ Comment(by carter): I'm able to suppress the spurious CPP warnings clang gives by wrapping clang in the following script and then on my mac I can use the patched Clang instead of gcc to build my haaskell code fine with GHC 7.6.3 {{{ #! /bin/sh clang -Wno-unicode -Wno-trigraphs -Wno-invalid-pp-token -Wno-return- type $@ }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7678#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler