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

c89(1) OSS Shell and Utilities Reference Manual
-WBstatic
Species that the linker utility uses static linking when searching for libraries specied
in subsequent operands of the form -l library. Static linking is in effect until a
-WBdynamic ag is specied. -WBdynamic, not -WBstatic, is the default setting.
Refer to the Dynamic and Static Linking subsection for details.
-Wbuild_neutral_library
Species 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.
This ag is valid only for TNS/E-targeted C++ compilations and only when the
-Wver-
sion2 or -Wversion3 ag is also used.
-WC Retains comments when preprocessing les. Comments are removed from preproces-
sor output by default.
-Wcall_shared | -Wnon_shared | -Wshared
Directs the compiler to create a specic type of object le:
-Wcall_shared Species that the object le should be a PIC le; the ld or eld linker is
invoked. If the -c ag is also specied, the le is a linkle. Otherwise,
the le is an executable object le (loadle).
This is the default behavior for a TNS/E-targeted compilation.
You cannot use this ag if you use the -Wsrl ag.
-Wnon_shared
Species that the object le should not be a PIC le; the nld linker is
invoked. You can use this ag only for a TNS/R-targeted compilation;
this ag is ignored when specied for a TNS/E-targeted compilation.
This is the default behavior for a TNS/R-targeted compilation.
-Wshared Species that the le should be a PIC DLL; the ld or eld linker is
invoked. You cannot use this ag if you use the -c or -Wsrl ag.
-Wcolumns=c
Species the maximum number of columns in input source les to process. c is in the
range 20 through 32767. Text in columns beyond column c is ignored.
-Wcplusplus
Directs c89 to assume that les with a .c or .i sufx contain C++ source code, and
denes the feature-test macro __cplusplus. If linking occurs, this ag directs the
linker utility to search the C++ standard run-time library.
If this ag is omitted and none of the operand lenames end in .C, .cpp, .cc,or.cxx,
then source les are compiled as C les only and, if -c is not specied, are only linked
with the C standard library. See Standard Libraries for details.
-WDname[="value" ]
Species a macro that is dened only during the NonStop SQL/MX preprocessing step.
See the HP NonStop SQL/MX Programming Manual for C and COBOL for details
about its -d ag=[value] option. This ag can be specied more than once.
Note that all -D values that are supplied to c89 are automatically passed as -d options
to the NonStop SQL/MX preprocessor.
This ag is ignored unless the -Wsqlmx ag is also specied.
26 Hewlett-Packard Company 527188-007