Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)
User Commands (c) c89(1)
-W[no]include_whole
Tells the ld or eld linker whether to include in the loadfile all linkable archive members
of all archive libraries encountered after this flag is specified.
Specifying -Winclude_whole begins this linking action. When -Wnoinclude_whole
behavior is in effect, archive searches are controlled by the existence of undefined
symbols. Archives are searched in the order specified on the command line. Symbols
are marked as undefined by compilers or by the user through the -Wu flag or the ld
linker -u flag. When an archive member is found that resolves an undefined symbol,
the member´s symbols are merged into the external symbol table for the loadfile being
created. After the merge, the undefined symbol that triggered the merge is resolved
(marked as defined). The same merge might resolve other undefined symbols or result
in more undefined symbols.
You can stop the linking action of -Winclude_whole by specifying the
-Wnoinclude_whole flag later in the command line or an obey file.
These flags can be specified as many times as needed in the command stream. Provid-
ing either flag overrides the current setting, so that the linker actions can be controlled
on a library-by-library basis.
The default setting is -Wnoinclude_whole.
-WIEEE_float | -WTandem_float
Specifies the floating-point format to be used by the compiler for values of type float or
type double. The differences between the two formats are summarized in the float(4)
reference page.
IEEE floating-point values can include NaN and infinity, and the sign of 0.0 (zero) can
be either positive or negative. Refer to the fp_class(3) reference page for a description
of IEEE value classes.
Guardian functions are available to convert between floating-point formats. Refer to
the Guardian Programmer’s Guide for a discussion of floating-point conversions.
On systems with processors that support IEEE Std 754-1985 floating-point format data,
the compiler uses that format when -WIEEE_float is specified. Specifying
-WTandem_float selects HP’s proprietary Tandem floating-point format.
On systems without processors that support IEEE Std 754-1985 floating-point format
data, the -WIEEE_float flag is not available. Use of the -WIEEE_float flag on such
systems produces an error diagnostic.
The -WIEEE_float flag cannot be used when the -Wsql or -Wsqlcomp flag is
specified.
The default setting is -WTandem_float for TNS/R-targeted compilations and
-WIEEE_float for TNS/E-targeted compilations.
-W[no]inline
Enables [disables] the generation of inline code for C++ functions declared inline and
for C++ member functions declared within their class. This flag does not affect C code
nor does the compiler generate inline functions for other reasons. The default setting is
-Winline.
-Winline_compiler_generated_functions
Allows all compiler-generated functions to be inline. Specifying this flag does not
guarantee that a function can be inlined. If this flag is omitted, compiler-generated
functions are not inlined and are exported.
The -Winline_compiler_generated_functions flag is valid only for TNS/R-targeted
527188-004 Hewlett-Packard Company 2−9