-qeh

C++ only

Description

Controls whether exception handling is enabled in the module being compiled.

Syntax

Read syntax diagramSkip visual syntax diagram        .-eh---.
>>- -q--+-noeh-+-----------------------------------------------><
 

where:

-qeh Exception handling is enabled.
-qnoeh If your program does not use C++ structured exception handling, compile with -qnoeh to prevent generation of code that is not needed by your application.

Notes

Specifying -qeh also implies -qrtti. If -qeh is specified together with -qnortti, RTTI information will still be generated as needed.

Related information