C/C++ Programmer's Guide (G06.25+)
Compiler Pragmas
HP C/C++ Programmer’s Guide for NonStop Systems—429301-008
13-75
PAGE
PAGE
The PAGE pragma causes a page eject in the compiler listing and prints a page
heading. The page eject occurs only when the output is being directed to a printer or
spooler device.
title-string
specifies the title to print on each subsequent page. The title string can contain up
to 61 characters.
There is no default setting for this pragma.
Usage Guidelines
•
The PAGE pragma cannot appear on the command line, but it can appear at any
point in the source text.
•
The quotation marks enclosing title-string are required delimiters; they are
not printed.
•
If the title string is longer than 61 characters, the compiler prints only the first 61.
•
PAGE takes effect only if the LIST pragma is in effect.
POOL_STRING_LITERALS
The POOL_STRING_LITERALS directive specifies that within a compilation unit
multiple occurrences of the same string literal are to occupy the same storage space.
The default assignments for multiple occurrences of a string literal gives them separate
storage space.
The pragma default settings are:
Usage Guidelines
•
The POOL_STRING_LITERALS directive must be entered on the command line.
PAGE [ "title-string" ]
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