Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
fexceptions
Enables exception handling table generation. This feature is only available for ifort.
Syntax
Linux: |
-fexceptions -fno-exceptions |
macOS: |
-fexceptions -fno-exceptions |
Windows: |
None |
Arguments
None
Default
-fno-exceptions |
Exception handling table generation is disabled. |
Description
This option enables C++ exception handling table generation, preventing Fortran routines in mixed-language applications from interfering with exception handling between C++ routines. The -fno-exceptions option disables C++ exception handling table generation, resulting in smaller code. When this option is used, any use of C++ exception handling constructs (such as try blocks and throw statements) when a Fortran routine is in the call chain will produce an error.
IDE Equivalent
Alternate Options
None