Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)

User Commands (c) c99(1)
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.
-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.
-Winline_string_literals
Allows the compiler to generate an inline function when a function takes the address of
a string literal. Specifying this flag does not guarantee that a function can be inlined.
If a function is inlined by this specification, its program will not conform to section
7.1.2 of the 1998 ISO C++ standard.
-W[no]innerlist
Enables [disables] the generation of instruction code mnemonics in the listing text
immediately following each corresponding statement. This flag is ignored unless
-Wnosuppress is specified. The default setting is -Wnoinnerlist.
-W[no]inspect
Designates [does not designate] the symbolic debugger as the default debugger for the
output object file. Use this flag with the -g flag. The default setting is -Wnoinspect.
This flag is set only if an executable object file is produced.
-Wlines=l
Specifies the maximum number of lines on a listing page, if a listing is generated. l
must be in the range 10 through 32767.
-W[no]list
Temporarily enables [disables] the generation of listing text. Both the -Wlist and
-Wnolist flags are ignored unless -Wnosuppress is specified. The default setting is
-Wlist.
-WM Preprocesses the specified source files and prints a list of files that the specified source
files depend on to the standard output file. The list can be used with the make utility.
No compilation or linking is performed. Unlike the -WP flag, no preprocessed files
with .i (for C) or .ii (for C++) suffixes are produced.
-W[no]map
Enables [disables] the generation of identifier maps in the listing. This flag is ignored
unless the -Wnosuppress flag is specified. The default setting is -Wnomap.
-Wmigration_check=32to64
Directs the compiler to emit additional warnings that detect valid C/C++ code that
potentially may behave in an unexpected manner when code designed for ilp32 is com-
piled using the lp64 data model. The -Wmigration_check=32to64 flag does not
require the -Wlp64 flag.
527188-021 Hewlett-Packard Company 245