DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
C compiler diagnostics

Appendix B

C compiler diagnostics

This chapter contains the text and explanation for all the warning and error messages produced by the compiler. The messages are listed in alphanumeric order (special characters are ignored). Numbers precede capital letters and capital letters precede lowercase letters. n, when it represents a number, comes at the beginning of the list.

The message entries are formatted as follows:

Entry Comment

cannot initialize typedef: name
Text of message.
Type: Error -- Options: all Type of message and command-line options (see next page)
A typedef may not have an initializer. Explanation of message.
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.


NOTE: For further information. see ``lint analyzer''.


Next topic: Message types and applicable options

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003