[cfe-dev] can't build?

Török Edwin edwintorok at gmail.com
Thu Apr 3 13:15:33 PDT 2008


Ted Kremenek wrote:
> Thanks Mike.  I've submitted a patch that hopefully fixes this.  It  
> builds fine with gcc-4.0.  It looks like your version of gcc is  
> complaining about the typedefs being private.
>
>   

I get a different build error, see below. Attached patch fixes it. Ok to
commit?

make: Entering directory `/home/edwin/llvm-svn/llvm/tools/clang/lib/CodeGen'
llvm[0]: Compiling CGBuiltin.cpp for Release build
CGBuiltin.cpp: In member function ‘llvm::Value*
clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr(unsigned int, const
clang::CallExpr*)’:
CGBuiltin.cpp:478: error: jump to case label
CGBuiltin.cpp:473: error:   crosses initialization of ‘unsigned int i’
CGBuiltin.cpp:482: error: jump to case label
CGBuiltin.cpp:473: error:   crosses initialization of ‘unsigned int i’
make: ***
[/home/edwin/llvm-svn/llvm/tools/clang/lib/CodeGen/Release/CGBuiltin.o]
Error 1
make: Leaving directory `/home/edwin/llvm-svn/llvm/tools/clang/lib/CodeGen'


Best regards,
--Edwin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildfix.patch
Type: text/x-diff
Size: 882 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080403/21daf301/attachment.patch>


More information about the cfe-dev mailing list