Everything

-rtti


< Compile Options / Microcontroller Options >

[Format]

-rtti={ on | off }

 

-

[Default]

The default for this option is rtti=off.

[Description]

-

This option enables or disables runtime type information.

-

When rtti=on is specified, dynamic_cast and typeid are enabled.

-

When rtti=off is specified, dynamic_cast and typeid are disabled.

[Remarks]

-

Do not define relocatable files (.obj) that were created by this option in a library, and do not output files in the relocatable format (.rel) through the optimizing linkage editor. A symbol double definition error or symbol undefined error may occur.

-

rtti=on can be specified only at C++ compilation. rtti=on is ignored when lang=cpp has not been specified and the input file extension is .c or .p.