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

If you specify the OLDCALLS pragma, the TNS C compiler generates code for function parameters
such that the parameters are stacked with the last parameter first and the first parameter last.
Versions of the TNS C compiler released prior to C00 behave this way.
If you specify NOOLDCALLS, the TNS C compiler generates code for function parameters such that
the parameters are stacked with the first parameter first and the last parameter last. C00 and later
versions of the TNS C compiler behave this way.
The pragma default settings are:
SYSTYPE OSSSYSTYPE GUARDIAN
NOOLDCALLSNOOLDCALLSTNS C compiler
NOOLDCALLSNOOLDCALLSG-series TNS c89 utility
N.A.N.A.TNS/R native C and C++ compilers
N.A.N.A.Native c89 and c99 utilities
N.A.N.A.TNS/E native C and C++ compilers
Usage Guidelines
The OLDCALLS pragma can be entered on the compiler RUN command line or in the source
text.
The OLDCALLS pragma has no affect if SYSTYPE OSS is specified; the compiler ignores the
pragma.
Versions of the TNS C compiler released with or after C00 and before D20.00 created
automatic prototypes for nonprototyped functions. Because this behavior violates the ISO/ANSI
C standard, it is no longer supported.
The native C and C++ compilers do not support these pragmas. Native compilers do not
support B-series C language function-calling behavior.
OLIMIT
The
OLIMIT directive specifies the maximum decimal number of basic blocks of a routine that the
global optimizer is to optimize. When a routine has more basic blocks than this number, the routine
is not optimized and a warning is printed.
OLIMIT value
value
is the number of basic blocks of a routine that are to be optimized. Specify a value between
0 and 32767.
The pragma default settings are:
SYSTYPE OSSSYSTYPE GUARDIAN
N.A.N.A.TNS C compiler
N.A.N.A.G-series TNS c89 utility
Not setNot setTNS/R native C and C++ compilers
Not setNot setNative c89 utility
N.A.N.A.c99 utility
N.A.N.A.TNS/E native C and C++ compilers
OLIMIT 223