C/C++ Programmer's Guide (G06.25+)

Compiler Pragmas
HP C/C++ Programmer’s Guide for NonStop Systems429301-008
13-54
KR
KR
The KR pragma specifies to the native C compiler that Kernighan & Ritchie or
common-usage C is being compiled instead of ISO/ANSI Standard C.
The pragma default settings are:
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.
KR
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 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++