[cfe-dev] clang build error
Ted Kremenek
kremenek at apple.com
Sat Feb 7 15:05:45 PST 2009
This could also be due to our difference in gcc versions. I'm using
gcc-4.2. I'm surprised, however, that operates new/delete would be
treated differently by these two versions of the compiler.
On Feb 7, 2009, at 2:52 PM, Csaba Hruska wrote:
> Hi!
> Unfortunately clang svn trunk does not compile on my 32 bit x86 arch
> linux with gcc 4.3.3.
> Here is the error output.
>
> Output:
> Scanning dependencies of target clangAST
> [ 87%] Building CXX object tools/clang/lib/AST/CMakeFiles/
> clangAST.dir/ASTContext.cpp.o
> [ 87%] Building CXX object tools/clang/lib/AST/CMakeFiles/
> clangAST.dir/CFG.cpp.o
> /media/disk/download/llvm/svn/llvm/tools/clang/include/clang/AST/
> Stmt.h: In member function
> 'clang::CFGBlock*<unnamed>::CFGBuilder::WalkAST(clang::Stmt*, bool)':
> /media/disk/download/llvm/svn/llvm/tools/clang/include/clang/AST/
> Stmt.h:113: error: 'static void clang::Stmt::operator delete(void*)'
> is protected
> /media/disk/download/llvm/svn/llvm/tools/clang/lib/AST/CFG.cpp:391:
> error: within this context
> make[2]: *** [tools/clang/lib/AST/CMakeFiles/clangAST.dir/CFG.cpp.o]
> Error 1
> make[1]: *** [tools/clang/lib/AST/CMakeFiles/clangAST.dir/all] Error 2
> make: *** [all] Error 2
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090207/1db3c080/attachment.html>
More information about the cfe-dev
mailing list