[cfe-dev] new clang build break...

Chris Lattner clattner at apple.com
Sat Nov 22 00:35:41 PST 2008


On Nov 22, 2008, at 12:29 AM, Cloud Strife wrote:

> Hi everyone.
> I checked the clang code last night and built it with Visual studio  
> 2005. However, I failed.
> One obvious error can be found:
> In the clangSema project, the semaExpr.cpp,
>
> static IdentifierInfo *constructSetterName(IdentifierTable &Idents,
>                                            const IdentifierInfo *Name)
>  llvm::SmallString<100> SelectorName;
>   SelectorName = "set";
>
> The cl.exe complains the llvm::smallString doesn't support the  
> assign operator. When switched to the llvm smallstring declaration,  
> I found no overrided "=" operator. I am using the LLVM 2.4 released.  
> Because I though the svn version maybe has some special things which  
> can't be let pass by Microsoft compiler.

Hi,

Mainline clang requires you to use mainline LLVM.  This API was added  
to smallstring after the 2.4 release.

-Chris



More information about the cfe-dev mailing list