[LLVMdev] Disabling rtti on default build - could it be reverted/re-enabled?
clattner at apple.com
Wed Feb 17 11:58:57 PST 2010
On Feb 17, 2010, at 3:15 AM, Heikki Kultala wrote:
> LLVM 2.7 is dropping rtti on default build, which is a problem to us.
> We are using Boost libraries on many places in our code, and Boost has
> some heavy usage of type info tricks, which cannot be compiled without
> rtti, so we have to keep rtti on for our code.
> But our code also implements the llvm backend framework classes, which
> are compiled without rtti , which causes problems; we cannot derive from
> the non-rtti enabled base classes with derived classes that are compiled
> with rtti on.
> So could rtti be turned on for default builds of llvm so that we could
> continue using (non-customized) llvm libraries for our compiler?
You should be able to get this by doing "make REQUIRES_RTTI=1" when building LLVM.
More information about the llvm-dev