where:

TABLE_SIZE specifies the size, expressed as the number of items (nnn), of the global path table.

FILE specifies the dumping output filename to use when the global path table is full.

FORMAT specifies the dumping format in either "binary or human-readable "text".

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 -mtoption must be consistent for all compilation and link steps. That means if -mtis used with +pathtrace at compile time, it should also be used at link time; if -mtis 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 -woption 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 -woption. 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,

38 Command-Line Options