Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
c89(1) OSS Shell and Utilities Reference Manual
-Wu="symbol_name"
Tells the ld or eld linker to add symbol_name as an undefined symbol. This causes the
linker to search for this symbol in any archive libraries that are specified after this flag
on the command line or in an obey file.
The search constraint specified by the -Wu flag is overridden by use of the
-Winclude_whole flag.
-Wv Echoes the command line to the standard error file as each component of the compila-
tion system is run.
-Wverbose
Echoes the command line to the standard error file as each component of the compila-
tion system is run and causes additional output and listings from the SQL compiler to
be sent to the standard output file. SQL compiler error messages are sent to the stan-
dard error file.
-Wversion1 | -Wversion2 | -Wversion3
Specifies which C++ dialect to compile.
-Wversion1 specifies the original version, released with D40. This is the default for
systems with a Release Version Update (RVU) prior to G06.00. This value is only
valid for TNS/R-targeted C++ compilations.
-Wversion2 specifies the dialect released with D45. This version supports such
features as the bool type, namespaces, and exceptions.
-Wversion3 specifies the dialect released with G06.20. This version supports an
ANSI/ISO Standard C++ Library corresponding to ISO/IEC IS 14882. This is the
default for TNS/R systems beginning with RVU G06.00 and for TNS/E systems begin-
ning with RVU H06.01.
These three dialects are not compatible.
All modules of a C++ program must be compiled and linked using the same dialect.
-Ww Suppresses the printing of compiler warning messages. This flag overrides any
-Wwarn or -Wnowarn flags.
-W[no]warn[=w [,w ] ... ]
For each w value that appears, this flag enables [disables] the compiler warning mes-
sage specified by w.
Declaring a w value enables [disables] the specified message. Specifying -Wwarn
[-Wnowarn] by itself enables [disables] all compiler warning messages.
If -Wwarn=w is specified, then -Wnowarn must also be specified or the -Wwarn=w
flag is ignored. If -Wnowarn=w is specified, then -Wwarn need not be specified.
If white space is present after the commas, the list of warning message numbers should
be enclosed in quotation marks.
-Wwarn is the default specification for this flag. -Ww overrides the -W[no]warn flag.
-Wx Strips part of the symbol table from the output object file but keeps information neces-
sary for the object file to be used as input to a linker utility again. This flag is typically
used with -Wr.
Multiple instances of the -D, -I, and -U flags and of the -l operands can be specified.
The position of -l library operands within a list of flags affects the order in which the libraries are
searched.
2−18 Hewlett-Packard Company 527188-003