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

c99(1) OSS Shell and Utilities Reference Manual
-WBdynamic
Specifies that the linker utility uses dynamic linking when searching for libraries
specified in subsequent operands of the form -l library. Dynamic linking is in effect
until a -WBstatic flag is specified. -WBdynamic is the default setting. Refer to the
Dynamic and Static Linking subsection for details.
-WBstatic
Specifies that the linker utility uses static linking when searching for libraries specified
in subsequent operands of the form -l library. Static linking is in effect until a
-WBdynamic flag is specified. -WBdynamic, not -WBstatic, is the default setting.
Refer to the Dynamic and Static Linking subsection for details.
-Wbitfield_container=value
Directs the compiler to accept larger and more flexible bit fields where value is one of
the following:
int Directs the compiler to pack bit fields into 32-bit ints. In this mode,
the compiler will not accept bit fields larger than 32 bits. The compiler
returns an error for any bit field declared to be of type long long
(unless the -Wextensions flag is also specified). The compiler returns
warnings for other non-standard integer types.
long Directs the compiler to pack bit fields whose base type is larger than
32-bits into 64-bit ints. All other bit fields will be packed into 32-bit
ints. In this mode, the compiler accepts the long long and long bit-
field types and up to 64 bits in length. The compiler returns warnings
for other non-standard integer types.
all Directs the compiler to pack all bit fields into ints defined by their base
type. The compiler will accept any integer type for a bit field. This
mode provides additional compatibility with the various methods other
compilers may use to pack bit fields.
The default value is int except when the -Wlp64 flag is specified, in which case the
default becomes long.
Note: The above rules apply to bit fields declared in auto or platform (the
default) structs. Any bit field declared in a shared2 struct will continue
to follow shared2 rules. Bit fields in shared2 structs can never be larger
than 32-bits. Bit fields declared in shared8 structs can be larger than
32-bits (if the value is long or long), but the compiler will emit a warn-
ing. Bit fields in shared8 structs will be packed as before except that bit
fields larger than 32-bits will be packed into 64-bit containers.
This flag is supported on systems running J06.13 or later J-series RVUs
or
H06.24 or later H-series RVUs only.
-Wbuild_neutral_library
Specifies that the compiler should issue an error message when it encounters any
exported or imported interface in a DLL that depends on types marked as being incom-
patible with the neutral C++ dialect.
-WC Retains comments when preprocessing files. Comments are removed from preproces-
sor output by default.
240 Hewlett-Packard Company 527188-021