TNS/R Native Application Migration Guide

C and C++ Migration Tasks
TNS/R Native Application Migration Guide523745-001
3-17
Specifying Pragmas or Flags
On the compiler command line, specify SSV0 $SYSTEM.SYSTEM and SSV1
$SYSTEM.ZRW pragmas to direct the compiler to search for header files first in the
system library and then in the Tools.h++ subvolume.
On the compiler command line, specify a CPATHEQ "PATHEQIN" pragma to
specify the default MAPINCLUDE file to map header file names to the Tools.h++
subvolume files. The PATHEQIN file maps the Tools.h++ source file header.
See the Guardian Programmers Guide for details.
Specifying Pragmas or Flags
The native C and C++ compilers are multipass, multicomponent compilers. As such,
they require that the following pragmas be specified on the C or C++ compiler
Guardian RUN command line or as flags to the c89 utility. You cannot specify these
pragmas in source code files.
For the c89 flag that corresponds to each pragma, see the c89 reference page online
or in the Open System Services Shell and Utilities Reference Manual. Note that c89
does not support all of these pragmas.
ANSISTREAMS CPATHEQ ERRORS
HEAP HIGHPIN HIGHREQUESTERS
[NO]INLINE [NO]INSPECT LINES
OPTIMIZE RUNNABLE RUNNAMED
[NO]SAVEABEND SEARCH SQL
[NO]STDFILES [NO]SUPPRESS [NO]SYMBOLS
SYNTAX SYSTYPE