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

Compiler Pragmas
HP C/C++ Programmer’s Guide for NonStop Systems429301-008
13-99
SUPPRESS
The native C and C++ compilers do not support this pragma. Native compilers
perform strict syntactic and semantic checking by default.
SUPPRESS
The SUPPRESS pragma controls the generation of compiler-listing text, regardless of
the status of the LIST pragma.
The pragma default settings are:
Usage Guidelines
The SUPPRESS pragma can be entered only on the compiler RUN command line.
Using the c89 utility, the pragma can be specified with the -W[no]suppress flag.
The SUPPRESS pragma overrides the ICODE, INNERLIST, LIST, LMAP, MAP, and
PAGE pragmas.
SUPPRESS_VTBL
The SUPPRESS_VTBL command-line option suppresses the definition of virtual
function tables in cases where the heuristic used by the compiler to decide on
definition of virtual function tables provides no guidance.
The virtual function table for a class is defined in a compilation if the compilation
contains a definition of the first non-inline, nonpure virtual function of the class. For
classes that contain no such function, the default behavior is to make the definition a
local static entity. This option is valid only for native TNS/R C++ only.
The pragma default settings are:
[NO]SUPPRESS
SYSTYPE GUARDIAN SYSTYPE OSS
TNS C compiler NOSUPPRESS NOSUPPRESS
G-series TNS c89 utility SUPPRESS SUPPRESS
TNS/R native C and C++ compilers NOSUPPRESS NOSUPPRESS
Native c89 utility SUPPRESS SUPPRESS
TNS/E native C and C++ compilers NOSUPPRESS NOSUPPRESS
SUPPRESS_VTBL
SYSTYPE GUARDIAN SYSTYPE OSS
TNS C compiler N.A. N.A.
G-series TNS c89 utility N.A. N.A.