You copied the Doc URL to your clipboard.

--rtti, --no_rtti

This option controls support for the RTTI features dynamic_cast and typeid in C++.

Note

You are permitted to use dynamic_cast without --rtti in cases where RTTI is not required, such as dynamic cast to an unambiguous base, and dynamic cast to (void *). If you try to use dynamic_cast without --rtti in cases where RTTI is required, the compiler generates an error.

Mode

This option is effective only if the source language is C++.

Default

The default is --rtti.