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-34
FORCE_STATIC_TYPEINFO
The pragma default settings are:
Usage Guidelines
FORCE_VTBL can be entered on the compiler RUN command line (NMCPLUS or
CPPCOMP) or be specified with the -Wforce_vtbl option of c89.
The FORCE_VTBL command-line option forces the definition of the virtual function
table for classes in compilation units that do not contain the first non-inline, non-
pure virtual function of the class. The FORCE_VTBL option differs from the default
behavior in that it does not force the definition to be local.
See also the description of the SUPPRESS_VTBL on page 13-101 command-line
option.
FORCE_STATIC_TYPEINFO
The FORCE_STATIC_TYPEINFO command-line option forces the typeinfo variables to
be static to the file. This option is applicable only to variables that are not part of an
exported or imported class.
The pragma default settings are:
Usage Guidelines
FORCE_STATIC_TYPEINFO can be entered on the compiler RUN command line
(NMCPLUS) or be specified with the -Wforce_static_typeinfo flag of the c89
utility.
This pragma is only valid for TNS/R-target compilations.
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
FORCE_STATIC_TYPEINFO
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 N.A. N.A.