MAX_SEGBIG
Maximum code segment size before SEGBIG warning
WSupported on Windows
|
USupported on Unix
|
VSupported on OpenVMS
|
|
MAX_SEGBIG enables you to cause a SEGBIG warning based on a user-defined value.
Value
The maximum size of a code segment before a SEGBIG warning is generated.
Discussion
When a program segment exceeds 65535, a fatal SEGBIG error occurs. MAX_SEGBIG allows you to specify a smaller size for which you would like to receive a warning. If MAX_SEGBIG is set, a level 3 W_SEGBIG warning will occur for each code segment that exceeds the specified value.
Setting location
The environment.
Used by
Traditional compiler
Examples
On Unix,
MAX_SEGBIG=50000 ;export MAX_SEGBIG