Developer Guide and Reference

Contents

fexceptions

Enables exception handling table generation.

Syntax

Linux:
-fexceptions
-fno-exceptions
macOS:
-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