HP-UX Reference (11i v2 03/08) - 1 User Commands A-M (vol 1)

c
cc_bundled(1) cc_bundled(1)
(Bundled C Compiler - Limited Functionality)
-w Suppress warning messages.
-Wx,arg1[,arg2...]
Pass the comma-separated argument(s) to subprocess x, where x can assume one of the
values listed under the
-t option as well as
d (driver program) but not x (all sub-
processes). The
-W option specification allows additional, implementation-specific options
to be recognized by the compiler driver.
Itanium-based Systems Only Options
-z Do not bind anything to address zero. This ld(1) option allows run-time detection of null
pointers. See the note on pointers below. (Itainum-based system only)
+dryrun Generate subprocess information for a given command line without running the sub-
processes. (Itanium-based systems only)
+m[d] This option outputs the double quoted ("") enclosed include file dependency information
in the format for make(1). With
+m the output goes to stdout. With +md the output goes
to a file with the suffix
.d. The directory and prefix of this file is the same as the object
file, which can be affected by the
-o option.
NOTE: Specify
-E to suppress generation of the object file. In this case, no preprocessor
output is generated. (Itanium-based systems only).
+M[d] Same as +m except both <> and enclosed include files are output as dependencies.
(Itanium-based systems only).
+p Disallow all anachronistic constructs. Ordinarily the compiler gives warnings about
anachronistic constructs; using the +p option, the compiler will not compile code contain-
ing anachronistic constructs. (Itanium-based systems only).
+time Generate separate timing information for compilation subprocesses. For each subprocess,
estimated time is generated in seconds for user processes, system calls, and total process-
ing time. (Itanium-based systems only).
+uc Treats "plain" char data type as unsigned char. (Overloading and mangling are
unchanged.) This option is to help in porting applications from environments where
unqualified (plain) char type is treated as unsigned char instead of the default treatment
as signed char. Since all unqualified char types in the compilation unit will be affected
by this option (including those headers that define external and system interfaces) it is
necessary to compile the interfaces used in a single program uniformly.
+w Warn about all questionable constructs. Without the +w option, the compiler issues
warnings only about constructs that are almost certainly problems (Itanium-based sys-
tems only).
+Warg1[,arg2,...,argn]
Selectively suppresses any specified warning messages, where arg1 through argn are
valid compiler warning message numbers. (Itanium-based systems only).
+Wearg1[,arg2,...,argn]
Selectively interpret any specified warning or future error messages as errors. arg1
through argn are valid compiler message numbers. (Itanium-based systems only).
System Dependent Options
The compiler supports the following additional operating system dependent options.
+DDdata_model
Generate code using either the ILP32 or LP64 data model. Defined values for data_model are:
32 Use the ILP32 data model. The sizes of the int, long and pointer data types are 32-bits.
64 Use the LP64 data model. The size of the int data type is 32-bits, and the sizes of the long and
pointer data types are 64-bits. Defines __LP64__ to the preprocessor.
+DSmodel
Use the instruction scheduler tuned to the model specified. If this option is not used, the compiler
uses the instruction scheduler for the architecture on which the program is compiled.
Section 164 Hewlett-Packard Company 3 HP-UX 11i Version 2: August 2003