Created
February 20, 2014 12:51
-
-
Save shadone/9112810 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 12%] Building CXX object generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o | |
In file included from /home/denis/dev/woboq_codebrowser/generator/main.cpp:38: | |
/home/denis/dev/woboq_codebrowser/generator/preprocessorcallback.h:55:18: error: 'If' marked 'override' but does not override any member functions | |
virtual void If(clang::SourceLocation Loc, clang::SourceRange ConditionRange, bool ConditionValue) override | |
^ | |
/home/denis/dev/woboq_codebrowser/generator/preprocessorcallback.h:61:18: error: 'Elif' marked 'override' but does not override any member functions | |
virtual void Elif(clang::SourceLocation Loc, clang::SourceRange ConditionRange, bool ConditionValue, clang::SourceLocation IfLoc) override { | |
^ | |
/home/denis/dev/woboq_codebrowser/generator/preprocessorcallback.h:55:18: warning: 'PreprocessorCallback::If' hides overloaded virtual function [-Woverloaded-virtual] | |
virtual void If(clang::SourceLocation Loc, clang::SourceRange ConditionRange, bool ConditionValue) override | |
^ | |
/usr/lib/llvm-3.3/include/clang/Lex/PPCallbacks.h:241:16: note: hidden overloaded virtual function 'clang::PPCallbacks::If' declared here: different number of parameters (2 vs 3) | |
virtual void If(SourceLocation Loc, SourceRange ConditionRange) { | |
^ | |
In file included from /home/denis/dev/woboq_codebrowser/generator/main.cpp:38: | |
/home/denis/dev/woboq_codebrowser/generator/preprocessorcallback.h:61:18: warning: 'PreprocessorCallback::Elif' hides overloaded virtual function [-Woverloaded-virtual] | |
virtual void Elif(clang::SourceLocation Loc, clang::SourceRange ConditionRange, bool ConditionValue, clang::SourceLocation IfLoc) override { | |
^ | |
/usr/lib/llvm-3.3/include/clang/Lex/PPCallbacks.h:249:16: note: hidden overloaded virtual function 'clang::PPCallbacks::Elif' declared here: different number of parameters (3 vs 4) | |
virtual void Elif(SourceLocation Loc, SourceRange ConditionRange, | |
^ | |
/home/denis/dev/woboq_codebrowser/generator/main.cpp:251:5: error: unknown type name 'ClangTool'; did you mean 'clang::tooling::ClangTool'? | |
ClangTool Tool(*Compilations, SourcePaths); | |
^~~~~~~~~ | |
clang::tooling::ClangTool | |
/usr/lib/llvm-3.3/include/clang/Tooling/Tooling.h:170:7: note: 'clang::tooling::ClangTool' declared here | |
class ClangTool { | |
^ | |
/home/denis/dev/woboq_codebrowser/generator/main.cpp:252:21: error: no template named 'newFrontendActionFactory'; did you mean 'clang::tooling::newFrontendActionFactory'? | |
return Tool.run(newFrontendActionFactory<BrowserAction>()); | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
clang::tooling::newFrontendActionFactory | |
/usr/lib/llvm-3.3/include/clang/Tooling/Tooling.h:218:24: note: 'clang::tooling::newFrontendActionFactory' declared here | |
FrontendActionFactory *newFrontendActionFactory() { | |
^ | |
/home/denis/dev/woboq_codebrowser/generator/main.cpp:252:21: error: no template named 'newFrontendActionFactory'; did you mean 'clang::tooling::newFrontendActionFactory'? | |
return Tool.run(newFrontendActionFactory<BrowserAction>()); | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
clang::tooling::newFrontendActionFactory | |
/usr/lib/llvm-3.3/include/clang/Tooling/Tooling.h:218:24: note: 'clang::tooling::newFrontendActionFactory' declared here | |
FrontendActionFactory *newFrontendActionFactory() { | |
^ | |
2 warnings and 5 errors generated. | |
make[2]: *** [generator/CMakeFiles/codebrowser_generator.dir/main.cpp.o] Error 1 | |
make[1]: *** [generator/CMakeFiles/codebrowser_generator.dir/all] Error 2 | |
make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment