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-35
FORCE_STATIC_VTBL
FORCE_STATIC_VTBL
The FORCE_STATIC_VTBL command-line option forces the virtual function tables that
are created by the compiler to be static to the file and are not exported. 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_VTBL can be entered on the compiler RUN command line
(NMCPLUS) or be specified with the -Wforce_static_vtbl flag of the c89
utility.
This pragma is only valid for TNS/R-target compilations.
FUNCTION
The FUNCTION pragma declares attributes of external routines. The FUNCTION
pragma is used at function declaration, not at function definition.
FORCE_STATIC_VTBL
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.
FUNCTION c-function-name
( attribute-specifier [ , attribute-specifier ] )
attribute-specifier:
{ language | attribute }
language:
{ c | cobol | fortran | pascal | tal | unspecified }
attribute:
{ alias ( " external-name " ) | resident | variable |
extensible [ ( param-count ) ] }