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-43
HIGHREQUESTERS
You can set the HIGHPIN flag of a native object file either:
°
During compilation by using the HIGHPIN pragma, if an executable file is
produced by the compilation
°
After compilation and linking of an executable object file by using an eld, ld,
or nld command
For more details on using high PINs and converting a C program to run at a high
PIN, see the Guardian Programmers Guide.
HIGHREQUESTERS
The HIGHREQUESTERS pragma specifies that the object file supports high PIN
requesters if the object file includes the main function.
The pragma default settings are:
Usage Guidelines
For the TNS C compiler, Cfront, and the TNS c89 utility, the HIGHREQUESTERS
pragma can be placed in the source text or in the RUN command that executes the
compiler.
When you bind several object files together, Binder sets the HIGHREQUESTERS
attribute in the target object file if, and only if, the object file with the main function
has the HIGHREQUESTERS attribute.
For the native C and C++ compilers, the HIGHREQUESTERS pragma can be
entered on the compiler RUN command line (not in the source file) or be specified
with the -W highrequesters flag of the c89 utility.
The HIGHREQUESTERS attribute is set for native C and C++ programs only if an
executable object file is the output of the compilation. (Process attributes cannot be
set for native relinkable object files.)
You can set the HIGHREQUESTERS object-file attribute either during compilation
using the HIGHREQUESTERS pragma or after compilation using the Binder SET
command (for TNS programs) or the eld, ld, or nld utility (for native programs).
[NO]HIGHREQUESTERS
SYSTYPE GUARDIAN SYSTYPE OSS
TNS C compiler Not set Not set
G-series TNS c89 utility HIGHREQUESTERS HIGHREQUESTERS
TNS/R native C and C++ compilers HIGHREQUESTERS HIGHREQUESTERS
Native c89 utility HIGHREQUESTERS HIGHREQUESTERS
TNS/E native C and C++ compilers HIGHREQUESTERS HIGHREQUESTERS