[LLVMdev] Why does `llvm-config --cxxflags` now include -fno-rtti ?

Óscar Fuentes ofv at wanadoo.es
Sun Mar 14 12:14:15 PDT 2010


Matthieu Moy <Matthieu.Moy at grenoble-inp.fr> writes:

[snip]

> So, I have two questions:
>
> * What's the rationale for including -fno-rtti in `llvm-config
>   --cxxflags`? Is this a bug? If not, it should be mentionned in the
>   release notes for 2.7.
>
> * How can a user (like me) of the LLVM library derive from LLVM
>   classes and use rtti information?

This was discussed here some weeks (days?) ago. LLVM now defaults to
-fno-rtti. There is a setting for enabling RTTI while building LLVM.




More information about the llvm-dev mailing list