6.2. Diagnosing compile-time errors
During compilation, the compiler emits diagnostic messages to the standard error device file (the terminal by default) whenever it encounters programming errors caused by invalid syntax or incorrect usage of features. There are various compiler diagnostic aids that can help you in determining where the error occurred.
6.2.1. Anatomy of a message
A compiler error message has the following format, which provides enough information about the location and reason for the error:
"file", line line.column: 15cc-nnn (sev) msg
Where:
file | The name of the source file where the error occurred. | |
line | The line in the source file where the error occurred. | |
column | The column on the line where the error occurred. | |
cc | A two-digit code ... |
Get Developing and Porting C and C++ Applications on AIX now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.