Controlling Exception Handling

Enable the Enable C++ Exceptions setting if you use the ISO-standard try and catch statements. Otherwise, disable this setting to generate smaller and faster code.

For more information on how Carbide implements the ISO C++ exception handling mechanism, see Working with C++ Exceptions.

This setting corresponds to the pragma exceptions. To check this setting, use __option (exceptions). By default, this setting is disabled.

See Checking Option Settings for information on how to use this directive.