Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

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