[cfe-dev] clang build error

Ted Kremenek kremenek at apple.com
Sat Feb 7 15:19:05 PST 2009


Incidentally, if you make 'delete' non-private (or simply remove it  
from Stmt), does the error go away?  I'm surprised that only that  
particular site is failing.  What happens if you do "make -i"?  Do you  
see the same error over and over?

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/17988bde/attachment.html>


More information about the cfe-dev mailing list