Developer Guide and Reference

ID 767253
Date 10/31/2024
Public
Document Table of Contents

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