[cfe-dev] Almost there...

Douglas Gregor dgregor at apple.com
Fri Jun 5 07:45:40 PDT 2009


On Jun 5, 2009, at 6:20 AM, Sebastian Redl wrote:

> AlisdairM(public) wrote:
>> Now my last problem - I am getting a couple of compiler errors  
>> trying to
>> build the CodeGen library, so can't link the final clang-cc.  Are  
>> these a
>> known issue?
>>
>> ...\clang\lib\CodeGen\CGBuiltin.cpp(271) : error C2039:  
>> 'BIalloca' : is not
>> a member of 'clang::Builtin'
>> ...\clang\lib\CodeGen\CGBuiltin.cpp(271) : error C2065: 'BIalloca' :
>> undeclared identifier
>> ...\clang\lib\CodeGen\CGBuiltin.cpp(271) : error C2051: case  
>> expression not
>> constant
>>
>> ...\clang\lib\CodeGen\CGCall.cpp(1757) : error C2039: 'NoRedZone' :  
>> is not a
>> member of 'llvm::Attribute'
>> ...\clang\lib\CodeGen\CGCall.cpp(1757) : error C2065: 'NoRedZone' :
>> undeclared identifier
>>
> Looks like you caught a broken in-between commit. Try simply updating
> Clang again.
> If that's not it, I'll have to look at it myself. Been a while since I
> built Clang on Windows.

Actually, you'll need to update LLVM. They tend to be developed  
together (NoRedZone was added to both front end and back end in the  
same day), but you need separate "svn update" commands for the LLVM  
and Clang trees.

	- Doug



More information about the cfe-dev mailing list