-fno-rtti (disable RTTI)?

kinke noone at nowhere.com
Wed May 13 12:09:09 UTC 2020


On Wednesday, 13 May 2020 at 09:49:33 UTC, Denis Feklushkin wrote:
> Is there any way to disable RTTI?

TypeInfos aren't emitted if there's no class TypeInfo in 
object.d. But then obviously everything that depends on them 
doesn't work, like associative arrays and GC allocations. - If a 
struct's TypeInfo isn't used, it should be stripped by the linker.


More information about the digitalmars-d-ldc mailing list