5.8.4.1 XC-DSC C++ Compiler - Specific

Table 5-24. C++ Specific Options
OptionDescriptionCommand Line
Generate run time type descriptor informationEnable generation of information about every class with virtual functions for use by the C++ runtime type identification features ('dynamic_cast' and 'typeid'). If you don't use those parts of the language, you can save some space by disabling this option. Note that exception handling uses the same information, but it will generate it as needed. The 'dynamic_cast' operator can still be used for casts that do not require runtime type information, i.e., casts to void * or to unambiguous base classes.-f[no-]rtti
Enable C++ exception handlingEnable exception handling. Generates extra code needed to propagate exceptions.-f[no-]exceptions
Check that the pointer returned by operator 'new' is non-nullCheck that the pointer returned by operator new is non-null before attempting to modify the storage allocated.-fcheck-new
Generate code to check for violation of exception specification at runtimeGenerate code to check for violation of exception specifications at runtime. Using this option may increase code size in production builds.-fenforce-eh-specs