fexceptions

Enables exception handling table generation.

Syntax

Linux:

-fexceptions

-fno-exceptions

Windows:

None

Arguments

None

Default

-fexceptions

Exception handling table generation is enabled. Default for C++.

-fno-exceptions

Exception handling table generation is disabled. Default for C.

Description

This option enables exception handling table generation. The -fno-exceptions option disables exception handling table generation, resulting in smaller code. When this option is used, any use of exception handling constructs (such as try blocks and throw statements) will produce an error. Exception specifications are parsed but ignored. It also undefines the preprocessor symbol __EXCEPTIONS.

IDE Equivalent

None

Alternate Options

None

Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.