C/C++ Programmer's Guide (G06.25+)

Compiler Pragmas
HP C/C++ Programmer’s Guide for NonStop Systems429301-008
13-76
POP
POP
The POP pragma directs the native compilers to restore the value of certain pragmas
that were stored earlier by a PUSH pragma.
There is no default setting for this pragma.
Usage Guidelines
The POP pragma can be entered only in the source text.
Only the values EXTERN_DATA, FIELDALIGN, LIST, OVERFLOW_TRAPS,
REFALIGNED, and WARN can be used as arguments to the POP pragma. The use
of any other pragma as an operand is flagged as an error.
Each POP pragma has a separate stack that holds up to 32 values.
PUSH
The PUSH pragma directs the compiler to save the value of certain pragmas. The
values can be restored later by a POP pragma.
There is no default setting for this pragma.
Usage Guidelines
The PUSH pragma can be entered only in the source text.
Only the values EXTERN_DATA, FIELDALIGN, LIST, OVERFLOW_TRAPS,
REFALIGNED, and WARN can be used as operands to the PUSH pragma. The use
of any other pragma as an operand is flagged as an error.
Each PUSH pragma has a separate stack, each of which holds up to 32 values.
POP pragma-name
pragma-name:
{ EXTERN_DATA | FIELDALIGN | LIST | OVERFLOW_TRAPS |
REFALIGNED | WARN }
PUSH pragma-name
pragma-name:
{ EXTERN_DATA | FIELDALIGN | LIST | OVERFLOW_TRAPS |
REFALIGNED | WARN }