C/C++ Programmer's Guide (G06.27+, H06.08+, J06.03+)
SYSTYPE OSSSYSTYPE GUARDIAN
The H-series RVU in which the compiler
was last released
The H-series RVU in which the compiler
was last released
H-series or J-series native c89 or c99
utility
The RVU in which the compiler was last
released
The RVU in which the compiler was
last released
TNS/E native C and C++ compilers
Usage Guidelines
• For the TNS/E native compilers in the Guardian environment, only the h-series-rvu option
is supported.
• For the TNS/R native compilers in the Guardian environment, only the g-series-rvu option
is supported.
• On the G-series version of the c89 command (PC and OSS environment), only the
g-series-rvu option is supported.
• On the H-series version of the c89 command, you can specify either g-series-rvu or
h-series-rvu, but the option you specify must be compatible with the option specified for
the TARGET pragma. That is, you can specify g-series-rvu only with -Wtarget=tns/r,
and h-series-rvu only with -Wtarget=tns/e.
• No checking is performed to determine whether the specified RVU actually exists.
• The RVU pragma can appear only on the compiler RUN command line for native C and C++.
SAVEABEND
The SAVEABEND pragma controls whether the system creates a save file if the program terminates
abnormally during execution. The SAVEABEND pragma specifies that the system is to create a save
file if the program terminates abnormally. NOSAVEABEND specifies that the system is not to create
a save file.
[NO]SAVEABEND
The pragma default settings are:
SYSTYPE OSSSYSTYPE GUARDIAN
NOSAVEABENDNOSAVEABENDTNS C compiler
NOSAVEABENDNOSAVEABENDG-series TNS c89 utility
NOSAVEABENDNOSAVEABENDTNS/R native C and C++ compilers
NOSAVEABENDNOSAVEABENDNative c89 and c99 utilities
NOSAVEABENDNOSAVEABENDTNS/E native C and C++ compilers
Usage Guidelines
• For native C and C++ you can specify the SAVEABEND pragma only on the compiler RUN
command line. You can also specify the -W[no]saveabend flag of the c89 or the c99 utility.
• On TNS, the pragma can only be specified with the -W[no]saveabend flag.
• The SAVEABEND attribute is set for native C and C++ programs only if an executable object
file is the output of the compilation. (Process attributes cannot be set for native relinkable object
files.)
• For TNS programs, the last SAVEABEND or NOSAVEABEND pragma in a translation unit
determines whether or not the system is to create a save file.
SAVEABEND 235