llvm[4]: Compiling PrintFunctionNames.cpp for Release+Asserts build (PIC)
<root
dir>/llvm/tools/clang/examples/PrintFunctionNames/PrintFunctionNames.cpp:26:16:
error: virt\
ual function 'HandleTopLevelDecl' has a different return type ('void') than the\
function it overrides (which has return type 'bool')
virtual void HandleTopLevelDecl(DeclGroupRef DG) {
^
<root
dir>/llvm/tools/clang/examples/PrintFunctionNames/../../include/clang/AST/ASTConsumer.h:53:\
16: note: overridden virtual function is here
virtual bool HandleTopLevelDecl(DeclGroupRef D);
^
1 error generated.
make[4]: *** [<obj root
dir>/llvm/tools/clang/examples/PrintFunctionNames/Release+Asserts/PrintFunctionNames.o]
Error 1
make[3]: *** [PrintFunctionNames/.makeall] Error 2
make[2]: *** [examples/.makeall] Error 2
make[1]: *** [clang/.makeall] Error 2
make: *** [all] Error 1
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits