Hi v8-users, My code which embeds V8 uses RTTI. My code also defines a custom subclass of v8::ArrayBuffer::Allocator. Since this subclass is defined in my code, RTTI type info is generated. This type info contains a reference to the type info for v8::ArrayBuffer::Allocator. However, since v8 is complied with -fno-rtti, there is no such type info emitted, and I end up with a linker error.
I would therefore like to build V8 with RTTI enabled. The code bloat doesn't matter for my use case. However, it looks like there's currently no way for me to do this without editing build/config/BUILDCONFIG.gn, where no_rtti is unconditionally specified in default_compiler_configs. Is my understanding correct? If so, would the V8 maintainers accept a patch to make this configurable via a GN variable? Thanks, -Kenton -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
