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-54
LARGESYM
Usage Guidelines
For native C and C++, the KR pragma must be entered on the compiler RUN
command line. For OSS, the KR pragma can be specified with the -Wkr flag of the
c89 utility.
The default is ISO/ANSI Standard C.
For NonStop systems, HP does not provide a complete set of header files that
conform to Kernighan & Ritchie (K&R) C. The user must modify existing header
files or obtain header files from another source to compile K&R source files.
LARGESYM
The LARGESYM pragma directs the TNS C compiler and Cfront to generate all the
symbols for a given compilation to a single symbols data block containing information
used by the Inspect debugger to display information about a variable or to display its
contents. You must also specify the SYMBOLS pragma when you specify LARGESYM.
The pragma default settings are:
Usage Guidelines
The LARGESYM pragma can be entered on the compiler RUN command line or in
the source text. For OSS, LARGESYM must be entered in the source file.
Use the LARGESYM pragma only in a file that contains a #include directive for a
header file that contains embedded conditional compilations that might cause a
structure definition to vary from module to module. If the LARGESYM directive is
TNS/R native C and C++ compilers Not set for C,
N.A. for C++
Not set for C,
N.A. for C++
Native c89 utility Not set for C,
N.A. for C++
Not set for C,
N.A. for C++
TNS/E native C and C++ compilers Not set for C,
N.A. for C++
Not set for C,
N.A. for C++
LARGESYM
SYSTYPE GUARDIAN SYSTYPE OSS
TNS C compiler Not set Not set
G-series TNS c89 utility Not set Not set
TNS/R native C and C++ compilers N.A. N.A.
Native c89 utility N.A. N.A.
TNS/E native C and C++ compilers N.A. N.A.
SYSTYPE GUARDIAN SYSTYPE OSS