Batch Compiler Message Format

Diagnostic messages have the following format when the -qnosrcmsg option is active (which is the default):

"file", line line_number.column_number: 15dd-nnn (severity) text.

where:

file is the name of the C or C++ source file with the error.
line_number is the line number of the error.
column_number is the column number for the error
15 is the compiler product identifier
cc is a two-digit code indicating the VisualAge C++ component that issued the message. cc can have the following values:
00 - code generating or optimizing message
01 - compiler services message.
05 - message specific to the C compiler
06 - message specific to the C compiler
40 - message specific to the C++ compiler
47 - message specific to munch utility
86 - message specific to interprocedural analysis (IPA).
nnn is the message number
severity is a letter representing the severity of the error
text is a message describing the error

 

Diagnostic messages have the following format when the -qsrcmsg option is specified:

x - 15dd-nnn(severity) text.

where x is a letter referring to a finger in the finger line.

To help you find the exact point of the error in the line, when you use the -qsrcmsg option, a finger line is produced below the source code line if the error is applicable to a specific column in the source line. For example:

       10 | int add(int, int)
            ....a...b....c...
a - 1506-166 (S) Definition of function add requires parentheses.
b - 1506-172 (S) Parameter type list for function add contains
parameters without identifiers.
c - 1506-172 (S) Parameter type list for function add contains
parameters without identifiers.

The finger line may also be produced in the source listing if you specify the -qsource option.



Message and Listing Information


Compiler Return Codes
Message Severity Levels and Compiler Response