search for: typinfo

Displaying 2 results from an estimated 2 matches for "typinfo".

Did you mean: typeinfo
2012 Mar 14
0
[LLVMdev] llvm-config --cxxflags does not give the result the configuration script wants?
...:(.data.rel.ro._ZTI13MyASTConsumer[typeinfo for > MyASTConsumer]+0x10): undefined reference to `typeinfo for > clang::ASTConsumer' > collect2: ld returned 1 exit status [snip] So you define a class MyAstConsumer that derives from clang::ASTConsumer and then the link fails because the typinfo for MyAstConsumer can not reference the typeinfo of clang::ASTConsumer, because the latter is undefined as a consecuence of building Clang with -fno-rtti. In this case the right thing is to apply -fno-rtti to the specific source file that defines MyAstConsumer. Please note that deriving from a Cl...
2012 Mar 14
2
[LLVMdev] llvm-config --cxxflags does not give the result the configuration script wants?
I got your point. Thank you, and I'd like to provide the relative message now. But firstly, what do you mean by the "relevant command generated by your makefile"? What I can tell you now is: The Error Message: make[3]: Entering directory `/home/tang.kk/ppcg/ppcg/isl/interface' CXXLD extract_interface extract_interface.o:(.data.rel.ro._ZTI13MyASTConsumer[typeinfo for