Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)
c89(1) OSS Shell and Utilities Reference Manual
• For a C module compilation, this option causes the compiler to issue an error,
instead of a warning, for implicitly declared functions.
If you specify an H-series RVU:
• You must specify the value in the form H06.nn—for example
-WRVU=H06.05.
• The -Wtarget flag is not required, but if you do specify it, you must specify
TNS/E for the value. If you specify TNS/E for the value of the -Wtarget flag,
but you specify a G-series RVU for the value of the -WRVU flag, the -WRVU
flag is ignored. If you specify TNS/R for the value of the -Wtarget flag, but
you specify an H-series RVU for the value of the -WRVU flag, the -WRVU
flag is ignored.
• For a C module compilation, this option causes the compiler to issue an error,
instead of a warning, for implicitly declared functions.
-W[no]saveabend
Specifies that a saveabend (process snapshot) file is [is not] created if the program ter-
minates abnormally. The default setting is -Wnosaveabend. This flag is meaningful
only if an executable object file is produced.
-Wsavetemps
Saves all temporary and intermediate files created by compilation system components.
Use the -Wv flag to display the filenames.
-Wsql[="args" ]
Enables NonStop SQL/MP support when processing C source files. It has no effect on
C++ source files. The C source files are processed by the C SQL processor (sqlcfe).
Arguments specified in args are passed to the processor without being checked for
validity. This flag sets the -Wextensions flag. If this is a TNS/E-targeted compilation,
specifying this flag also implicitly sets -Wtandem_float.
The -Wsql flag cannot be used when the -WIEEE_float, -Wmxcmp,or-Wsqlmx flag
is specified.
-Wsqlcomp[="args" ]
Invokes the NonStop SQL/MP compiler (sqlcomp) if not suppressed by another flag.
A file that has already been linked can be processed by the NonStop SQL/MP com-
piler; for example:
c89 -Wsqlcomp -c exefile
Arguments specified in args are passed to the NonStop SQL/MP compiler without
being checked for validity. NonStop SQL/MP compiler error messages are sent to the
standard error file. Note that C++ does not support embedded SQL.
-Wsqlmx[="args" ]
Invokes the NonStop SQL/MX mxsqlc preprocessor before compilation for any file
operands of the form file.sql, file.ec, file.eC, file.ecpp, file.ecxx,orfile.ec++. If an argu-
ment is specified, it must be one of the following:
listing Directs the preprocessor to write its diagnostic messages to a file
named file.eL in addition to the standard error file, where file is the
name of the primary source file.
2−16 Hewlett-Packard Company 527188-007