HP aC++/HP C Programmer's Guide (B3901-90036; A.06.26; September 2011)
global_fixed_size Generates a fixed-size (65536 items) global path table and
records basic block-execution information in it at runtime.
This form differs from+pathtrace=global because the
size of the table cannot be configured at runtime, and the
contents cannot be dumped to a file. The fixed-size global
path table has better runtime performance than the
configurable global path table. The performance difference
varies depending on the optimization level and how the
program is written.
none Disables generation of both the global and local path tables.
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
Error Handling 43