C/C++ Programmer's Guide (G06.25+)
Compiler Pragmas
HP C/C++ Programmer’s Guide for NonStop Systems—429301-008
13-100
SYMBOLS
Usage Guidelines
•
SUPPRESS_VTBL can either be entered on the compiler RUN command line
(CPPCOMP or NMCPLUS) or be specified with the -Wsuppress_vtbl option of
c89.
•
See also the description of the FORCE_VTBL command-line option.
SYMBOLS
The SYMBOLS pragma controls the inclusion of symbol information in the object file for
use by a symbolic debugger. The SYMBOLS pragma directs the compiler to include
symbol information in the object file, and NOSYMBOLS directs the compiler to omit this
information.
( NODEFINES )
directs the compiler to omit symbol information regarding preprocessor symbols
and macros. Omitting this information can dramatically reduce the size of a macro-
intensive program’s object file. This option is not valid for native mode.
The pragma default settings are:
Usage Guidelines
•
For native C and C++ programs, the SYMBOLS pragma can be entered only on the
compiler RUN command line or be specified with the -g option of the c89 utility.
For TNS C and C++ programs, the SYMBOLS pragma must appear on the compiler
RUN command line or at the start of the source text before any declarations or
source code statements.
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
[NO]SYMBOLS [ ( NODEFINES ) ]
SYSTYPE GUARDIAN SYSTYPE OSS
TNS C compiler NOSYMBOLS NOSYMBOLS
G-series TNS c89 utility NOSYMBOLS NOSYMBOLS
TNS/R native C and C++ compilers NOSYMBOLS NOSYMBOLS
Native c89 utility NOSYMBOLS NOSYMBOLS
TNS/E native C and C++ compilers NOSYMBOLS NOSYMBOLS
SYSTYPE GUARDIAN SYSTYPE OSS