-maxmsg

Specifies the maximum number of diagnostics of a specified severity or higher reported during compilation.

Syntax

-maxmsg "{I|W|E|S},max-num"

Parameters

I
Counts all compiler messages starting at I-level (Informational) against the maximum.
W
Counts all compiler messages starting at W-level (Warning) against the maximum. Default.
E
Counts all compiler messages starting at E-level (Error) against the maximum.
S
Counts only S-level (Severe) against the maximum.
max-num
An integer ranging from 0 to 32676 that represents the maximum number of reported diagnostic events. If set to 0, compilation terminates when the first error of the specified severity is encountered. Default is 1000.

Notes

Compilation terminates if the number of messages exceeds the maximum number allowed.

Messages classified as below the specified severity are not counted in the total.

An unrecoverable A-level (Abort) error message always results in termination.

Example

-maxmsg

Is equivalent to:

-maxmsg "W,1000"