-exception


< Compile Options / Microcontroller Options >

[Format]

-exception

 

-

[Default]

The C++ exceptional handling function (try, catch, throw) is disabled.

[Description]

-

The C++ exceptional handling function (try, catch, throw) is enabled.

-

The code performance may be lowered.

[Remarks]

-

In order to use the C++ exceptional handling function among files, perform the following:

-

Specify rtti=on.

-

Do not specify the noprelink option in the optimizing linkage editor.

-

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