C/C++ Programmer's Guide (G06.25+)
Compiler Pragmas
HP C/C++ Programmer’s Guide for NonStop Systems—429301-008
13-6
SRLExportClassMembers Controls which members of a class are exported from
an SRL or user library (a private shared run-time
library). This pragma is valid only for TNS/R compilers.
SRLExports
Specifies that a definition of an external function or
external variable is exported from an SRL or user
library (a private shared run-time library). This pragma
is valid only for TNS/R compilers.
SRLName
Is used to "name" an SRL or user library (a private
shared run-time library). This pragma is valid only for
TNS/R compilers.
SSV
Specifies a list of search subvolumes (SSVs) to be
searched for files specified in #include directives.
STDFILES
Controls the automatic opening of the three standard
files: stdin, stdout, and stderr.
STRICT
Directs the TNS C compiler or Cfront to generate a
warning if it encounters one of a number of valid, but
questionable, syntactic or semantic constructs.
SUPPRESS
Controls the generation of compiler-listing text,
regardless of the status of the LIST pragma.
SUPPRESS_VTBL
Suppresses the definition of virtual function tables in
cases where the heuristic used by the native C++
compiler to decide on definition of virtual function
tables provides no guidance.
SYMBOLS
Controls the inclusion of symbol information in the
object file for use by a symbolic debugger.
SYNTAX
Directs the compiler to not generate an object file but
merely to check the source text for syntactic and
semantic errors.
SYSTYPE
Controls whether the generated code’s target
execution environment is the Guardian or OSS
environment.
TANDEM_FLOAT
Specifies that the native C++ compiler is to use
Tandem floating-point format for performing floating-
point computations. TANDEM_FLOAT is the default
mode for G-series floating-point computations.
TRIGRAPH
Controls whether the TNS C compiler or Cfront
translate trigraphs for the current compilation.
VERSION1
Directs the TNS/R native C++ compiler to compile
according to the D40 version or dialect of C++.
Disables all new features added from the D45 RVU
onward. VERSION1 is the default compilation mode for
D45 and all RVUs until the G06.20 RVU.
Table 13-1. Compiler Pragma Descriptions (page 6 of 7)
Pragma Purpose