eh

C++ only

Purpose

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

Syntax


Syntax Diagram

where:


eh Exception handling is enabled.
noeh 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 References

Compiler Command Line Options
rtti IBM Copyright 2003