-static char* WarnMsg [WARN_COUNT-1] = {
- "Unreachable code",
- "Condition is never true",
- "Condition is always true",
- "Converting pointer to integer without a cast",
- "Converting integer to pointer without a cast",
- "Function call without a prototype",
- "Unknown #pragma",
- "No case labels",
- "Function must be extern",
- "Parameter `%s' is never used",
- "`%s' is defined but never used",
- "Constant is long",
- "`/*' found inside a comment",
- "Useless declaration",
-};
-
-
-
-/* Error messages sorted by ErrTypes */
-static char* ErrMsg [ERR_COUNT-1] = {
- "Invalid character (%u)",
- "Unexpected newline",
- "End-of-file reached in comment starting at line %u",
- "Syntax error",
- "`\"' expected",
- "`:' expected",
- "`;' expected",
- "`(' expected",
- "`)' expected",
- "`[' expected",
- "`]' expected",
- "`{' expected",
- "`}' expected",
- "Identifier expected",
- "Type expected",
- "Incompatible types",
- "Incompatible pointer types",
- "Too many arguments in function call",
- "Too few arguments in function call",
- "Macro argument count mismatch",
- "Duplicate macro parameter: %s",
- "Variable identifier expected",
- "Integer expression expected",
- "Constant expression expected",
- "No active loop",
- "`\"' or `<' expected",
- "Missing terminator or name too long",
- "Include file `%s' not found",
- "Open failure on include file `%s'",
- "Invalid #error directive",
- "#error: %s",
- "Unexpected `#endif'",
- "Unexpected `#else'",
- "`#endif' expected",
- "Compiler directive expected",
- "Symbol `%s' defined more than once",
- "String literal expected",
- "`while' expected",
- "Function must return a value",
- "Function cannot return a value",
- "Unexpected `continue'",
- "Undefined symbol: `%s'",
- "Undefined label: `%s'",
- "Include nesting too deep",
- "Too many local variables",
- "Too many initializers",
- "Cannot initialize incomplete type",
- "Cannot subscript",
- "Operation not allowed on these types",
- "Struct expected",
- "Struct/union has no field named `%s'",
- "Struct pointer expected",
- "lvalue expected",
- "Expression expected",
- "Preprocessor expression expected",
- "Illegal type",
- "Illegal function call",
- "Illegal indirection",
- "Illegal address",
- "Illegal macro call",
- "Illegal hex digit",
- "Illegal character constant",
- "Illegal modifier",
- "Illegal storage class",
- "Division by zero",
- "Modulo operation with zero",
- "Range error",
- "Symbol is already different kind",
- "Too many lexical levels",
- "Parameter name omitted",
- "Old style function decl used as prototype",
- "Declaration for parameter `%s' but no such parameter",
- "Cannot take address of a register variable",
- "Illegal size of data type",
- "__fastcall__ is not allowed for C functions",
- "Variable has unknown size",
- "Unknown identifier: `%s'",
-};
-
-
-
-static char* FatMsg [FAT_COUNT-1] = {
- "Too many errors",
- "Cannot open output file: %s",
- "Cannot write to output file (disk full?)",
- "Cannot open input file: %s",
- "Out of memory",
- "Stack overflow",
- "Stack empty",
- "Out of string space",
- "Too many case labels",
-};
-
-
-