[GHC] #7678: GHC should compile cleanly with clang

GHC ghc-devs at haskell.org
Wed Jun 19 07:44:51 CEST 2013


#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 seeing the following build error when i try to build ghc head using
 clang head:

 {{{
 In file included from compiler/basicTypes/DataCon.lhs:49:0:

 compiler/HsVersions.h:29:5:
      error: '#' is not followed by a macro parameter
 {-# NOINLINE name #-};             \
     ^

 compiler/HsVersions.h:34:5:
      error: '#' is not followed by a macro parameter
 {-# NOINLINE name #-};              \
     ^
 2 errors generated.
 make[1]: *** [compiler/stage1/build/.depend-v.haskell] Error 1

 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7678#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list