fexceptions

Enables exception handling table generation.

IDE Equivalent

None

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux and Mac OS: -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.

Alternate Options

None