C/C++ Programmer's Guide (G06.25+)
Compiler Pragmas
HP C/C++ Programmer’s Guide for NonStop Systems—429301-008
13-4
LINES Specifies the maximum number of output lines per
page for the compiler listing file.
LINKFILE
Invokes the appropriate linker and specifies a
command file to be passed.
LIST
Controls the generation of compiler-listing text.
LMAP
Controls the generation and presentation of load-map
information in the compiler listing.
MAP
Controls the generation of identifier maps in the
compiler listing.
MAPINCLUDE
Specifies how to transform file names within
#include directives.
MAXALIGN
Specifies that objects of a composite type are given
the maximum alignment supported by the compiler.
MIGRATION_CHECK
Directs the compiler to perform a migration check, to
aid in migrating from VERSION2 to VERSION3 of the
Standard C++ Library.
NEST
Controls whether the TNS compiler accepts nested
comments.
NEUTRAL
Specifies a struct, class, or union definition and
marks it as being available in the neutral C++ standard
library on H-series systems.
NLD(arg)
Specifies arguments to be passed to the nld utility.
NOEXCEPTIONS
Disables support for exception handling by the native
C++ compiler when you are also using the VERSION2
directive.
NON_SHARED
Directs the compiler to generate code that is not PIC
(Position-Independent Code), that cannot be shared
and that cannot access PIC files. NON_SHARED is the
default for the TNS/R native compilers but is not
allowed for the TNS/E native compilers.
OLDCALLS
Controls how the TNS C compiler generates code for
function calls.
OLIMIT
Specifies the maximum decimal number of basic
blocks of a routine to be optimized by the global
optimizer.
ONCE
Specifies that the file containing this pragma will be
compiled only once during the compilation.
OPTFILE
Specifies an optimizer file, which contains a list of
functions that are to be optimized at the level specified
in the file.
Table 13-1. Compiler Pragma Descriptions (page 4 of 7)
Pragma Purpose