C compiler diagnostics
The message entries are formatted as follows:
------------------------------------------------------------------------
Entry Comment
------------------------------------------------------------------------
cannot initialize typedef: name Text of message.
Type: Error -- Options: Type of message and
all command-line options
(see next page)
A typedef may not have an Explanation of message.
initializer.
typedef int INT = 1; Example of code that
might generate the
message.
"file", line 1: cannot initialize typedef: INT Message output.
When an error occurs, the error message
is preceded by a file name and line number.
All message output are one line long
(no newline characters).
The line number is usually the line on
which a problem has been diagnosed.
Occasionally the compiler must read
the next token before it can diagnose a problem,
in which case the line number in the message may
be a higher line number than that of the offending line.
Note that lint(CP) issues all the messages listed in this chapter, and additional messages about potential bugs and portability problems.