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

Syntax: Default:
gen(ehDataSeg, name) gen(ehDataSeg, EH_DATA)

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

By default constants are placed in EH_DATA.

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

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

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



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


Set Build Options
Build


Code Generation Options