C++ Programming Guide

RTTI Options

For C++ 5.0 in compatibility mode (-compat=4), RTTI support requires significant resources to implement. RTTI is disabled by default in that mode. To enable RTTI implementation and recognition of the associated typeid keyword, use the option -features=rtti. To disable RTTI implementation and recognition of the associated typeid keyword, use the option -features=no%rtti (the default).

For C++ 5.0 in standard mode (the default mode) RTTI does not have a significant impact on program compilation or execution. In standard mode, RTTI is always enabled.