Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)
User Commands (c) c89(1)
The -E, -WH, and -WM flags override the -WP flag.
-Wpool_string_literals
Specifies that, within a compilation unit, multiple occurences of the same string literal
should occupy the same storage space. This flag applies to C++ compilations only; it
is ignored when C++ is not used.
The default assignment for multiple occurrences of a string literal gives them separate
storage space.
-Wr Produces a nonexecutable non-PIC object
file. The object file can be used as input to
the nld linker utility again. If this flag is not specified and the nld linker is invoked, the
object file is executable (it is an SRL or a program).
This flag is only valid for TNS/R-targeted compilations. This
flag should not be used
for PIC files.
-W[no]reexport
Tells the ld or eld linker whether to mark any library specified in a -l operand or -L flag
after this flag for reexport in its libList entry in the loadfile being created. Specifying
-Wnoreexport leaves the library unmarked; specifying -Wreexport marks the library.
Reexport is a run-time attribute that is used by the rld loader to decide what DLLs it
needs to load.
-Wnoreexport is the default action.
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.
-Wrefalign=ref
Specifies the global reference alignment for pointers. ref can be either 2 or 8. The
default value is 8.
-W[no]remarks
Enables [disables] compiler remark messages. Remark messages are informative diag-
nostics that are less severe than warnings and errors. The default setting is -Wnore-
marks.
-Wrunnamed
Directs the linker utility to set the RUNNAMED ON attribute in the output object file.
This attribute specifies that the object file runs as a named process. The default attri-
bute setting is RUNNAMED OFF. The RUNNAMED ON attribute is set only if an
executable object file is produced.
-WRVU={g-series-rvu|h-series-rvu}
Sets the value of the _H_SERIES_RVU or the _G_SERIES_RVU feature test macro.
These feature test macros are used in HP NonStop standard header files to determine
whether declarations that depend on a specific RVU are available. No checking is per-
formed to determine whether the specified RVU actually exists. The default value for
this flag is the G-series RVU or the H-series RVU in which the compiler was last
released. If you are running the G-series version of the c89( ) command, you can
specify a G-series RVU for the -WRVU flag only. If you are running the H-series ver-
sion of the c89() command, you can specify either a G-series RVU or an H-series RVU
for the -WRVU flag.
If you specify a G-series RVU:
• You must specify the value in the form G06.nn—for example
-WRVU=G06.28.
527188-007 Hewlett-Packard Company 2−15