C/C++ Programmer's Guide (G06.27+, H06.08+, J06.03+)

Usage Guidelines
The SYSTYPE pragma can be entered on the compiler RUN command line or be specified
with the -Wsystype flag of the c89 or the c99 utility. A SYSTYPE pragma in the source text
does not change the target environment; it is only an affirmation of the target environment.
The compiler issues an error if a SYSTYPE pragma specified in the source text differs from:
The SYSTYPE pragma specified on the RUN command line.
The -Wsystype flag of the c89 or the c99 utility.
The compiler default environment.
If you run the compiler in the Guardian environment, the default setting is SYSTYPE GUARDIAN.
If you run the compiler in the OSS environment (with the c89 or the c99 utility), the default
setting is SYSTYPE OSS.
The SYSTYPE GUARDIAN and SYSTYPE OSS pragmas set the default values for many other
pragmas.
Pragma SYSTYPE GUARDIAN defines the _GUARDIAN_TARGET and _TANDEM_SOURCE
macros. Pragma SYSTYPE OSS defines the _OSS_TARGET and _XOPEN_SOURCE macros.
Because the SYSTYPE pragma defines and undefines macros, you must specify the SYSTYPE
pragma before any definitions in the RUN command line or in a source file.
The SYSTYPE pragma has no meaning for a DLL. A DLL may be usable by either a Guardian
process or an OSS process, or both, depending on how various parts of the DLL were written
and compiled. You must have information about how the DLL was written and compiled to
use it appropriately.
TANDEM_FLOAT
The TANDEM_FLOAT directive specifies that the native C or C++ compiler is to use the proprietary
Tandem floating-point format for performing floating-point operations.
TANDEM_FLOAT
The pragma default settings are:
SYSTYPE OSSSYSTYPE GUARDIAN
N.A.N.A.TNS C compiler
N.A.N.A.G-series TNS c89 utility
TANDEM_FLOATTANDEM_FLOATTNS/R native C and C++ compilers
For TNS/R code: TANDEM_FLOATFor
TNS/E code: IEEE_FLOAT
For TNS/R code: TANDEM_FLOATFor
TNS/E code: IEEE_FLOAT
Native c89 utility
N.A.N.A.c99 utility
1
IEEE_FLOATIEEE_FLOATTNS/E native C and C++ compilers
1
The c99 utility supports IEEE floating point only.
Usage Guidelines
The TANDEM_FLOAT directive can be entered on the compiler RUN command line or with the
-WTandem_float flag of the c89 utility.
In RVUs preceding the G06.06 release, only the proprietary Tandem floating-point format
was available. With the introduction of the processor-hosted IEEE floating-point format at
TANDEM_FLOAT 251