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.nnfor example
-WRVU=H06.05.
The -Wtarget ag 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 ag,
but you specify a G-series RVU for the value of the -WRVU ag, the -WRVU
ag is ignored. If you specify TNS/R for the value of the -Wtarget ag, but
you specify an H-series RVU for the value of the -WRVU ag, the -WRVU
ag 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
Species that a saveabend (process snapshot) le is [is not] created if the program ter-
minates abnormally. The default setting is -Wnosaveabend. This ag is meaningful
only if an executable object le is produced.
-Wsavetemps
Saves all temporary and intermediate les created by compilation system components.
Use the -Wv ag to display the lenames.
-Wsql[="args" ]
Enables NonStop SQL/MP support when processing C source les. It has no effect on
C++ source les. The C source les are processed by the C SQL processor (sqlcfe).
Arguments specied in args are passed to the processor without being checked for
validity. This ag sets the -Wextensions ag. If this is a TNS/E-targeted compilation,
specifying this ag also implicitly sets -Wtandem_oat.
The -Wsql ag cannot be used when the -WIEEE_oat, -Wmxcmp,or-Wsqlmx ag
is specied.
-Wsqlcomp[="args" ]
Invokes the NonStop SQL/MP compiler (sqlcomp) if not suppressed by another ag.
A le that has already been linked can be processed by the NonStop SQL/MP com-
piler; for example:
c89 -Wsqlcomp -c exefile
Arguments specied 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 le. Note that C++ does not support embedded SQL.
-Wsqlmx[="args" ]
Invokes the NonStop SQL/MX mxsqlc preprocessor before compilation for any le
operands of the form le.sql, le.ec, le.eC, le.ecpp, le.ecxx,orle.ec++. If an argu-
ment is specied, it must be one of the following:
listing Directs the preprocessor to write its diagnostic messages to a le
named le.eL in addition to the standard error le, where le is the
name of the primary source le.
216 Hewlett-Packard Company 527188-007