C/C++ Programmer's Guide (G06.27+, H06.08+, J06.03+)
The pragma default settings are:
SYSTYPE OSSSYSTYPE GUARDIAN
N.A.STDFILESTNS C compiler
N.A.STDFILESG-series TNS c89 utility
N.A.STDFILESTNS/R native C and C++ compilers
N.A.STDFILESNative c89 and c99 utilities
N.A.STDFILESTNS/E native C and C++ compilers
Usage Guidelines
• For the native compilers, the STDFILES pragma can be entered only on the compiler RUN
command line. For the TNS compilers, the pragma can be specified with the -W[no]stdfiles
flag of the c89 or the c99 utility.
• The C compiler defaults to STDFILES if pragma SYSTYPE GUARDIAN is specified. You cannot
specify the STDFILES pragma if pragma SYSTYPE OSS is specified. The compiler issues a
warning.
• The STDFILES pragma is effective only for compiling the module that contains the main
function. These pragmas have no meaning for other modules, and the compiler issues a
warning if the pragmas are used with other modules.
• In a mixed-language program, the three standard files are not automatically opened unless
the module containing the main function is written in the C programming language. If you
need to open any of the three standard files for I/O operations in the C language, explicitly
open each file by calling the fopen_std_file() function.
STRICT
The STRICT pragma directs the TNS C compiler or Cfront to generate a warning if it encounters
one of a number of valid, but questionable, syntactic or semantic constructs.
STRICT
The pragma default settings are:
SYSTYPE OSSSYSTYPE GUARDIAN
Not setNot setTNS C compiler
Not setNot setG-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 STRICT pragma can be entered on the compiler RUN command line or in the source
text.
• The STRICT pragma causes these additional warning messages to be issued: 5, 36, 84, 92,
93, 94, 96, 98, 105, 107, 108, 119, 148, 151, 179, 217, and 218. For information about
messages, see Chapter 20: TNS C Compiler Messages.
STRICT 247