rtti Code Generation Option (C++)

Syntax: Default:
gen(rtti[, yes])
gen(rtti, all)
gen(rtti, typeInfo)
gen(rtti, dynamicCast)
gen(rtti, no)
gen(rtti, no)

This option controls what run-time type information (RTTI) is generated.

By default, RTTI is not supported by the generated code. The default setting has a performance advantage.  However, some libraries, like the IBM Open Class Library, require RTTI.

The options gen(rtti, all) and gen(rtti) or gen(rtti,yes) have the same effect. They generate code that supports both the typeid and dynamic_cast operators.

To request that only the typeid operator is supported, use gen(rtti, typeInfo).

To request that only the dynamic_cast operator is supported, use gen(rtti, dynamicCast).

This is a global codestore option.



Incremental C++ Build
C Compilation
Configuration Files


Set Build Options for the Project
Build


Code Generation Options
Code Generation Options