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

Usage Guidelines
BUILD_NEUTRAL_LIBRARY is a command-line directive that must be entered on the compiler
RUN command line, not in the source text.
The BUILD_NEUTRAL_LIBRARY directive can also be specified with the
-Wbuild_neutral_library flag of the c89 or the c99 utility.
This flag is valid only for TNS/E-targeted C++ compilations and only when the -Wversion2
or -Wversion3 flag is also used.
For other guidelines, see Using the Neutral C++ Dialect (page 89).
Example
See Using the Neutral C++ Dialect (page 89).
C99LITE
The C99LITE pragma, supported for H06.08 and later H-series RVUs and J06.03 and later J-series
RVUs only, enables the subset of features from the 1999 update to the ISO/IEC C standard (ISO/IEC
9899:1999) supported by HP C. These features are summarized in Appendix G: c99 Selected
Features (C99LITE).
C99LITE
NOTE: The complete set of features from the 1999 update to the ISO/IEC C standard (ISO/IEC
9899:1999) are supported for TNS/E-targeted programs compiled on systems running H06.21
or later H-series RVUs or J06.10 or later J-series RVUs. For more information, see “c99 Full Support”
(page 461).
The pragma default settings are:
SYSTYPE OSSSYSTYPE GUARDIAN
N.A.N.A.TNS C compiler
N.A.N.A.G-series TNS c89 utility
N.A.N.A.TNS/R native C and C++ compilers
Not enabledNot enabledNative c89 utility
N.A.N.A.c99 utility
Not enabledNot enabledTNS/E native C and C++ compilers
Usage Guidelines
In the Guardian environment, the C99LITE pragma is recognized only on the CCOMP
command; it is ignored (and no diagnostic is issued) on the CPPCOMP command. The OSS
and Windows equivalent, -Wc99lite, can appear only on the command line for the c89
utility; it is recognized only when compiling a C program; it is ignored (and no diagnostic is
issued) when compiling a C++ program.
In the Guardian environment, neither the SQL nor the KR pragmas can be specified along
with the C99LITE pragma. In the OSS and Windows environments, neither the -Wsql nor
the -Wkr options can be specified along with the -Wc99lite option.
The -Wc99lite option is effective only when -Wtarget=ipf or -Wtarget=tns/e is
specified (or implied). If -Wtarget=mips or -Wtarget=tns/r is specified, a warning
message is issued.
176 Compiler Pragmas