HP aC++/HP C A.06.20 Programmer's Guide
The values can be combined by joining them with a colon. For example:
+pathtrace=global:local
The global_fixed_size and global values are mutually exclusive. If more than
one of them are specified on the command line, the last one takes precedence. The same
is true for the none value.
+pathtrace with no values is equivalent to
+pathtrace=global_fixed_size:local.
The use of this option and the -mt option must be consistent for all compilation and
link steps. That means if -mt is used with +pathtrace at compile time, it should also
be used at link time; if -mt is not used with +pathtrace at compile time, it should
not be used at link time. Otherwise, a link-time error can occur.
Error Handling
Use the following options to control how potential errors in your code are detected
and handled. You can also use the cadvise report feature of the HP Code Advisor
tool to help analyze compiler errors and warnings.
+p
The +p option disallows all anachronistic constructs.
Ordinarily, the compiler gives warnings about anachronistic constructs. Using the +p
option, the compiler gives errors for anachronistic constructs.
Example:
The following command compiles file.C and gives errors for all anachronistic
constructs rather than just giving warnings.
aCC +p file.C
-w
The -w option disables all warnings except those that are explicitly enabled with a
+Wwargs option or a subsequent +w-prefix option. By default, the compiler reports all
errors and warnings.
HP recommends against using the -w option. In addition to disabling messages currently
output by the compiler, it will also disable any new messages added to the compiler
in the future that could identify problem areas in user code. HP recommends using
the +Wargs option to disable a message. Although it can often take a long list of +Warg
options to disable all desired warnings, this list can be included in an options file and
referenced using the +opts option to avoid listing them all directly on the command
line.
Example:
46 Command-Line Options