[cfe-dev] Build Failures

dag at cray.com dag at cray.com
Mon Jan 28 10:49:11 PST 2013


I'm getting build failures with gcc 4.7:

[sta-dbg]    : [llvm] /ptmp/dag/llvm/staging/llvm/tools/clang/lib/StaticAnalyzer/Checkers/AdjustedReturnValueChecker.cpp: In member function 'void {anonymous}::AdjustedReturnValueChecker::checkPostStmt(const clang::CallExpr*, clang::ento::CheckerContext&) const':
[sta-dbg]    : [llvm] /ptmp/dag/llvm/staging/llvm/tools/clang/lib/StaticAnalyzer/Checkers/AdjustedReturnValueChecker.cpp:61:42: error: invalid conversion from 'const clang::NamedDecl*' to 'const clang::FunctionDecl*' [-fpermissive]
[sta-dbg]    : [llvm] /ptmp/dag/llvm/staging/llvm/tools/clang/lib/StaticAnalyzer/Checkers/AdjustedReturnValueChecker.cpp: At global scope:
[sta-dbg]    : [llvm] /ptmp/dag/llvm/staging/llvm/tools/clang/lib/StaticAnalyzer/Checkers/AdjustedReturnValueChecker.cpp:90:66: error: 'void clang::ento::registerAdjustedReturnValueChecker(clang::ento::CheckerManager&)' should have been declared inside 'clang::ento'

Anyone else seeing the same?

                                 -David



More information about the cfe-dev mailing list