ehCodeSeg Code Generation Option (C++, OS/2 Windows)

Syntax: Default:
gen(ehCodeSeg, name) gen(ehCodeSeg, EH_CODE)

This option specifies the name of the code section in which code for C++ exception handling is stored.

This section is used only during the processing of a throw statement. Putting this code in a separate section improves the paging behavior of your program.

You can also specify the name of the data section for C++ exception handling with gen(ehDataSeg, name).

You can change the default attributes for all code segments with link(code, attributes) or change attributes of a named segment with link(section, name, attributes). You do not have to rename EH_CODE in order to change its attributes.



Incremental C++ Build
C Compilation
Configuration Files
Sections and Segments


Set Build Options
Build


Code Generation Options