You copied the Doc URL to your clipboard.
--rtti, --no_rtti
Controls support for the RTTI features dynamic_cast
and typeid
in C++.
Usage
Use --no_rtti
to disable source-level RTTI features such as
dynamic_cast
.
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
These options are effective only if the source language is C++.
Default
The default is --rtti
.