Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

User Commands (c) c89(1)
The -E, -WH, and -WM ags override the -WP ag.
-Wpool_string_literals
Species that, within a compilation unit, multiple occurences of the same string literal
should occupy the same storage space. This ag 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
le. The object le can be used as input to
the nld linker utility again. If this ag is not specied and the nld linker is invoked, the
object le is executable (it is an SRL or a program).
This ag is only valid for TNS/R-targeted compilations. This
ag should not be used
for PIC les.
-W[no]reexport
Tells the ld or eld linker whether to mark any library specied in a -l operand or -L ag
after this ag for reexport in its libList entry in the loadle 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 ags can be specied as many times as needed in the command stream. Provid-
ing either ag overrides the current setting, so that the linker actions can be controlled
on a library-by-library basis.
-Wrefalign=ref
Species 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 le.
This attribute species that the object le runs as a named process. The default attri-
bute setting is RUNNAMED OFF. The RUNNAMED ON attribute is set only if an
executable object le 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 les to determine
whether declarations that depend on a specic RVU are available. No checking is per-
formed to determine whether the specied RVU actually exists. The default value for
this ag 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 ag 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 ag.
If you specify a G-series RVU:
You must specify the value in the form G06.nnfor example
-WRVU=G06.28.
527188-007 Hewlett-Packard Company 215