C/C++ Programmer's Guide (G06.27+, H06.03+)

Table Of Contents
Compiler Pragmas
HP C/C++ Programmer’s Guide for NonStop Systems429301-010
13-39
HEADERS
HEADERS
The HEADERS pragma directs the native C and C++ compilers to print a list of included
header files.
The pragma default settings are:
Usage Guidelines
The HEADERS pragma must be entered on the compiler RUN command line, not in
the source text.
This pragma causes the compiler to act like a limited preprocessor. No
compilation is performed.
If both pragmas CPPONLY and HEADERS are specified, CPPONLY takes
precedence.
HEAP
The HEAP pragma specifies the maximum heap size of a program compiled with the
RUNNABLE pragma.
count [ { BYTES | PAGES | WORDS } ]
specifies the maximum size of the heap in terms of a number of units of a given
size. count specifies the number of units, and the keyword following count
specifies the size of each unit. If you omit a keyword, the compiler assumes
BYTES.
HEADERS
SYSTYPE GUARDIAN SYSTYPE OSS
TNS C compiler N.A. N.A.
G-series TNS c89 utility N.A. N.A.
TNS/R native C and C++ compilers Not set Not set
Native c89 utility Not set Not set
TNS/E native C and C++ compilers Not set Not set
HEAP count [ { BYTES | PAGES | WORDS } ]