fexceptions

Disables exception handling table generation.

IDE Equivalent

None

Architectures

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

Syntax

Linux: -fexceptions
  -fno-exceptions
Windows:    None

Arguments

None

Default

-fexceptions     

Enables exception handling. Default for C++.

-fno-exceptions

Disables exception handling. Default for C.

Description

This option enables [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