home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-12-30 | 29.3 KB | 1,185 lines |
- 0: "declaration expected" (Fatal, Error, ANSI-violation)
-
- Something is pretty wrong with the source.
-
-
- 1: "only one input file allowed" (Fatal)
-
- vbcc accepts only a single filename to compile. You can use a
- frontend to compile multiple files or perhaps you mistyped an
- option.
-
-
- 2: "Flag <%s> specified more than once" ()
-
- You specified a command line option that should be specified only
- once more than once. Maybe you have this option in your config-file
- and used it in the command line, too?
- The first occurrence will override the latter ones.
-
-
- 3: "Flag <%s> needs string" (Fatal)
-
- This option hast to be specified with a string parameter, e.g.
- -flag=foobar
-
-
- 4: "Flag <%s> needs value" (Fatal)
-
- This option hast to be specified with an integer parameter, e.g.
- -flag=1234
-
-
- 5: "Unknown Flag <%s>" (Fatal)
-
- This option is not recognized by vbcc. Perhaps you mistyped it, used
- the wrong case or specified an option of the frontend to vbcc?
-
-
- 6: "No input file" (Fatal)
-
- You did not specify an input file. Your source file should not start
- with a '-' and if you use a frontend make sure it has the proper
- suffix.
-
-
- 7: "Could not open <%s> for input" (Fatal)
-
- A file could not be opened.
-
-
- 8: "need a struct or union to get a member" (Error, ANSI-violation)
-
- The source contains something like a.b where a is not a structure
- or union.
-
-
- 9: "too many (%d) nested blocks" (Fatal, Error)
-
- vbcc only allows a maximum number of nested blocks
- (compund-statements). You can increase this number by changing
- the line #define MAXN <something> in vbc.h and recompiling vbcc.
-
-
- 10: "left block 0" (Error, ANSI-violation)
-
- This error should not occur.
-
-
- 11: "incomplete struct <%s>" (Error, ANSI-violation)
-
- You tried to get a member of an incomplete structure/union.
- You defined struct x y; somewhere without defining struct x{...}.
-
-
- 12: "out of memory" (Fatal, Error)
-
- Guess what.
-
-
- 13: "redeclaration of struct <%s>" (Error, ANSI-violation)
-
- You may not redeclare a struct/union in the same block.
-
-
- 14: "incomplete type (%s) in struct" (Error, ANSI-violation)
-
- Every member in a struct/union declaration must be complete.
- Perhaps you only wanted a pointer to that type and forgot the '*'?
-
-
- 15: "function (%s) in struct/union" (Error, ANSI-violation)
-
- Functions cannot be members of structs/unions.
-
-
- 16: "redeclaration of struct/union member <%s>" (Error, ANSI-violation)
-
- Two members of a struct/union have the same name.
-
-
- 17: "redeclaration of <%s>" (Error, ANSI-violation)
-
- You used a name already in use in an enumeration.
-
-
- 18: "invalid constant expression" (Error, ANSI-violation)
-
- ??? Nowhere to find...
-
-
- 19: "array dimension must be constant integer" (Error, ANSI-violation)
-
- The dimensions of an array must be constants (real constants,
- const int x=100; int y[x]; is not allowed) and integers
- (int y[100.0]; is not allowed either).
-
-
- 20: "no declarator and no identifier in prototype" (Error, ANSI-violation)
-
-
-
- 21: "invalid storage-class in prototype" (Error, ANSI-violation)
-
- Function parameters may only be auto or register.
-
-
- 22: "void not the only function argument" (Error, ANSI-violation)
-
- You tried to declare a function that has an argument of type void
- as well as other arguments.
-
-
- 23: "<%s> no member of struct/union" (Error, ANSI-violation)
-
- The struct/union does not contain a member called like that.
-
-
- 24: "increment/decrement is only allowed for aithmetic and pointer types" (Error, ANSI-violation)
-
-
-
- 25: "functions may not return arrays or functions" (Error, ANSI-violation)
-
-
-
- 26: "only pointers to functions can be called" (Error, ANSI-violation)
-
- You tried to call something that did not decay into a pointer to
- a function.
-
-
- 27: "redefinition of var <%s>" (Error, ANSI-violation)
-
-
-
- 28: "redeclaration of var <%s> with new storage-class" (Error, ANSI-violation)
-
-
-
- 29: "first operand of conditional-expression must be arithmetic or pointer type" (Error, ANSI-violation)
-
-
-
- 30: "multiple definitions of var <%s>" (Error, ANSI-violation)
-
- There have been multiple definitions of a global variable with
- initialization.
-
-
- 31: "operands of : do not match" (Error, ANSI-violation)
-
- In an expression of the form a ? b : c
- - a and b must have the same type or
- - a and b both must have arithmetic types or
- - one of them must be a pointer and the other must be void * or 0
-
-
- 32: "function definition in inner block" (Error, ANSI-violation)
-
- C does not allow nested functions.
-
-
- 33: "redefinition of function <%s>" (Error, ANSI-violation)
-
- Defining two functions with the same name in one translation-unit
- is no good idea.
-
-
- 34: "invalid storage-class for function" (Error, ANSI-violation)
-
- Functions must not have storage-classes register or auto.
-
-
- 35: "declaration-specifiers expected" (Error, ANSI-violation)
-
-
-
- 36: "declarator expected" (Error, ANSI-violation)
-
-
-
- 37: "<%s> is no parameter" (Error, ANSI-violation)
-
- In an old-style function definition you tried to declare a name as
- parameter which was not in the identifier-list.
-
-
- 38: "assignment of different structs/unions" (Error, ANSI-violation)
-
-
-
- 39: "invalid types for assignment" (Error, ANSI-violation)
-
- In an assignment-context (this includes passing arguments to
- prototyped functions) the source and target must be one of the
- following types:
-
- - both are arithmetic types
- - both are the same struct/union
- - one of them is a pointer to void and the other one is any pointer
- - the target is any pointer and the source is an integral
- constant-expression with the value 0
- - both are pointer to the same type (here the target may have
- additional const/volatile qualifiers - not recursively, however)
-
- Any other combinations should be illegal.
-
-
- 40: "only 0 can be compared against pointer" (Warning, ANSI-violation)
-
- You may not compare a pointer against any other constant but a
- 0 (null pointer).
-
-
- 41: "pointers do not point to the same type" (Warning, ANSI-violation)
-
- You tried to compare or assign pointers that point to different
- types. E.g. the types they point to may have different attributes.
-
-
- 42: "function initialized" (Error, ANSI-violation)
-
- There was a '=' after a function declaration.
-
-
- 43: "initialization of incomplete struct" (Error, Fatal, ANSI-violation)
-
- A structure is incomplete if the only its name, but not the
- content is known. You cannot do much with such structures.
-
-
- 44: "initialization of incomplete union" (Error, Fatal, ANSI-violation)
-
- A union is incomplete if the only its name, but not the
- content is known. You cannot do much with such unions.
-
-
- 45: "empty initialization" (Error, ANSI-violation)
-
- There was no valid expression after the '=' in a variable definition.
-
-
- 46: "initializer not a constant" (Error, ANSI-violation)
-
- Static variables and compound types may only be initialized with
- constants.
- Variables with const qualifier are no valid constant-expressions
- here.
-
- Addresses of static variables are ok, but casting them may turn
- them into non-constant-expressions.
-
-
- 47: "double type-specifier" (Warning, ANSI-violation)
-
-
-
- 48: "illegal type-specifier" (Warning, ANSI-violation)
-
-
-
- 49: "multiple storage-classes" (Warning, ANSI-violation)
-
-
-
- 50: "storage-class specifier should be first" (Warning, ANSI-violation)
-
-
-
- 51: "bitfields must be ints" (Warning, ANSI-violation)
-
-
-
- 52: "bitfield width must be constant integer" (Warning, ANSI-violation)
-
-
-
- 53: "struct/union member needs identifier" (Warning, ANSI-violation)
-
-
-
- 54: "; expected" (Warning, ANSI-violation)
-
- Probably you forgot a ';' or there is a syntactic error in an
- expression.
-
-
- 55: "struct/union has no members" (Warning, ANSI-violation)
-
- You defined an empty struct or union.
-
-
- 56: "} expected" (Warning, ANSI-violation)
-
-
-
- 57: ", expected" (Warning, ANSI-violation)
-
-
-
- 58: "invalid unsigned" (Warning, ANSI-violation)
-
-
-
- 59: ") expected" (Warning, ANSI-violation)
-
-
-
- 60: "array dimension has sidefx (will be ignored)" (Warning, ANSI-violation)
-
-
-
- 61: "array of size 0 (set to 1)" (Warning, ANSI-violation)
-
- ANSI C does not allow arrays or any objects to have a size of 0.
-
-
- 62: "] expected" (Warning, ANSI-violation)
-
-
-
- 63: "mixed identifier- and parameter-type-list" (Warning, ANSI-violation)
-
-
-
- 64: "var <%s> was never assigned a value" (Warning)
-
-
-
- 65: "var <%s> was never used" (Warning)
-
-
-
- 66: "invalid storage-class" (Warning, ANSI-violation)
-
-
-
- 67: "type defaults to int" (Warning)
-
-
-
- 68: "redeclaration of var <%s> with new type" (Warning, ANSI-violation)
-
-
-
- 69: "redeclaration of parameter <%s>" (Warning, ANSI-violation)
-
-
-
- 70: ": expected" (Warning, ANSI-violation)
-
-
-
- 71: "illegal escape-sequence in string" (Warning, ANSI-violation)
-
-
-
- 72: "character constant contains multiple chars" (Warning)
-
-
-
- 73: "could not evaluate sizeof-expression" (Error, ANSI-violation)
-
-
-
- 74: "" expected (unterminated string)" (Error, ANSI-violation)
-
-
-
- 75: "something wrong with numeric constant" (Error, ANSI-violation)
-
-
-
- 76: "identifier expected" (Fatal, Error, ANSI-violation)
-
-
-
- 77: "definition does not match previous declaration" (Warning, ANSI-violation)
-
-
-
- 78: "integer added to illegal pointer" (Warning, ANSI-violation)
-
-
-
- 79: "offset equals size of object" (Warning)
-
-
-
- 80: "offset out of object" (Warning, ANSI-violation)
-
-
-
- 81: "only 0 should be cast to pointer" (Warning)
-
-
-
- 82: "unknown identifier <%s>" (Error, ANSI-violation)
-
-
-
- 83: "too few function arguments" (Warning, ANSI-violation)
-
-
-
- 84: "division by zero (result set to 0)" (Warning, ANSI-violation)
-
-
-
- 85: "assignment of different pointers" (Warning, ANSI-violation)
-
-
-
- 86: "lvalue required for assignment" (Error, ANSI-violation)
-
-
-
- 87: "assignment to constant type" (Error, ANSI-violation)
-
-
-
- 88: "assignment to incomplete type" (Error, ANSI-violation)
-
-
-
- 89: "operands for || and && have to be arithmetic or pointer" (Error, ANSI-violation)
-
-
-
- 90: "bitwise operations need integer operands" (Error, ANSI-violation)
-
-
-
- 91: "assignment discards const" (Warning, ANSI-violation)
-
- You assigned something like (const type *) to (type *).
-
-
- 92: "relational expression needs arithmetic or pointer type" (Error, ANSI-violation)
-
-
-
- 93: "both operands of comparison must be pointers" (Error, ANSI-violation)
-
- You wrote an expression like a == b where one operand was a pointer
- while the other was not. Perhaps a function is not declared correctly
- or you used NULL instead of 0?
-
-
- 94: "operand needs arithmetic type" (Error, ANSI-violation)
-
-
-
- 95: "pointer arithmetic with void * is not possible" (Error, ANSI-violation)
-
- Adding/subtracting from a pointer to void is not possible.
-
-
- 96: "pointers can only be subtracted" (Error, ANSI-violation)
-
- You cannot add, multiply etc. two pointers.
-
-
- 97: "invalid types for operation <%s>" (Error, ANSI-violation)
-
-
-
- 98: "invalid operand type" (Error, ANSI-violation)
-
-
-
- 99: "integer-pointer is not allowed" (Error, ANSI-violation)
-
- You may not subtract a pointer from an integer.
- Adding an integer or subtracting it from a pointer is ok.
-
-
- 100: "assignment discards volatile" (Warning, ANSI-violation)
-
- You assigned something like (volatile type *) to (type *).
-
-
- 101: "<<, >> and % need integer operands" (Error, ANSI-violation)
-
-
-
- 102: "casting from void is not allowed" (Error, ANSI-violation)
-
- Casting something of type void to anything makes no sense.
-
-
- 103: "integer too large to fit into pointer" (Error, ANSI-violation)
-
- You tried to assign an integer to a pointer that is too small to
- hold the integer.
- Note that assignment of pointers<->integers is never portable.
-
-
- 104: "only integers can be cast to pointers" (Error, ANSI-violation)
-
-
-
- 105: "invalid cast" (Error, ANSI-violation)
-
-
-
- 106: "pointer too large to fit into integer" (Error, ANSI-violation)
-
- You tried to assign a pointer to an integer that is too small to
- hold the pointer.
- Note that assignment of pointers<->integers is never portable.
-
-
- 107: "unary operator needs arithmetic type" (Error, ANSI-violation)
-
-
-
- 108: "negation type must be arithmetic or pointer" (Error, ANSI-violation)
-
-
-
- 109: "complement operator needs integer type" (Error, ANSI-violation)
-
-
-
- 110: "pointer assignment with different qualifiers" (Warning, ANSI-violation)
-
- You tried to assign a pointer to a pointer that points to a type
- with different qualifiers (e.g. signed<->unsigned).
-
-
- 111: "dereferenced object is no pointer" (Error, ANSI-violation)
-
-
-
- 112: "dereferenced object is incomplete" (Error, ANSI-violation)
-
- You tried to dereference a pointer to an incomplete object.
- Either you had a pointer to an array of unknown size or a pointer
- to a struct or union that was not (yet) defined.
-
-
- 113: "only 0 should be assigned to pointer" (Warning, ANSI-violation)
-
- You may not assign constants other than a null pointer to any
- pointer.
-
-
- 114: "typedef <%s> is initialized" (Warning, ANSI-violation)
-
-
-
- 115: "lvalue required to take address" (Error, ANSI-violation)
-
- You can only get the address of an object, but not of expressions
- etc.
-
-
- 116: "unknown var <%s>" (Error, ANSI-violation)
-
-
-
- 117: "address of register variables not available" (Error, ANSI-violation)
-
- If a variable is declared as 'register' its address may not be
- taken (no matter if the variable actually gets assigned to a
- register).
-
-
- 118: "var <%s> initialized after 'extern'" (Warning)
-
-
-
- 119: "const var <%s> not initialized" (Warning)
-
- A constant variable was not initialized in its definition.
- As there is no other legal way to assign a value to a constant
- variable this is probable an error.
-
-
- 120: "function definition after 'extern'" (Warning, ANSI-violation)
-
-
-
- 121: "return type of main is not int" (Warning, ANSI-violation)
-
- main() should be defined as
-
- int main(int argc, char **argv)
-
- Especially the return type of main must be 'int' - 'void' is
- not allowed by ANSI C.
-
-
- 122: "invalid storage-class for function parameter" (Warning, ANSI-violation)
-
- Function parameters may only have 'auto' or 'register' as
- storage-class. 'static' or 'extern' are not allowed.
-
-
- 123: "formal parameters conflict with parameter-type-list" (Warning, ANSI-violation)
-
-
-
- 124: "parameter type defaults to int" (Warning)
-
- A function definition contains no explicit type specifier.
- 'int' will be assumed.
-
-
- 125: "no declaration-specifier, used int" (Warning, ANSI-violation)
-
- A variable was declared/defined without a type specified.
- This is not allowed in ANSI C (apart from functions).
-
-
- 126: "no declarator in prototype" (Warning, ANSI-violation)
-
-
-
- 127: "static var <%s> never defined" (Warning)
-
-
-
- 128: "} expected" (Warning)
-
-
-
- 129: "left operand of comma operator has no side-effects" (Warning)
-
- In an expression of the form a,b a has no side-effects and is
- therefore superfluous.
-
-
- 130: "label empty" (Error, ANSI-violation)
-
- There was a ':' without an identifier before it.
-
-
- 131: "redefinition of label <%s>" (Error, ANSI-violation)
-
- The label was defined more than once in the same function.
- Consider that labels can not be hidden in inner blocks.
-
-
- 132: "case without switch" (Error, ANSI-violation)
-
- A case label was found outside of any switch-statements.
-
-
- 133: "case-expression must be constant" (Error, ANSI-violation)
-
- The expression after 'case' must be constant.
-
-
- 134: "case-expression must be integer" (Error, ANSI-violation)
-
- The expression after 'case' must be integer.
-
-
- 135: "empty if-expression" (Error, ANSI-violation)
-
- There was no valid expression after 'if'.
-
-
- 136: "if-expression must be arithmetic or pointer" (Error, ANSI-violation)
-
- The expression after 'if' must be arithmetic (i.e. an integer
- or floating point type) or a pointer.
-
-
- 137: "empty switch-expression" (Error, ANSI-violation)
-
- There was no valid expression after 'switch'.
-
-
- 138: "switch-expression must be integer" (Error, ANSI-violation)
-
- The expression after 'switch' must be an integer.
-
-
- 139: "multiple default labels" (Error, ANSI-violation)
-
- There was more than one default label in a switch-statement.
-
-
- 140: "while-expression must be arithmetic or pointer" (Error, ANSI-violation)
-
- The expression after the 'while' must be arithmetic (i.e. an integer
- or floating point type) or a pointer.
-
-
- 141: "empty while-expression" (Error, ANSI-violation)
-
- There was no valid expression after 'while'.
-
-
- 142: "for-expression must be arithmetic or pointer" (Error, ANSI-violation)
-
- The expression inside the 'for' must be arithmetic (i.e. an integer
- or floating point type) or a pointer.
-
-
- 143: "do-while--expression must be arithmetic or pointer" (Error, ANSI-violation)
-
- The expression after the 'while' must be arithmetic (i.e. an integer
- or floating point type) or a pointer.
-
-
- 144: "goto without label" (Error, ANSI-violation)
-
- 'goto' must be followed by a label.
-
-
- 145: "continue not within loop" (Error, ANSI-violation)
-
- 'continue' is only allowed inside of loops.
- Perhaps there are unbalanced '{' '}'.
-
-
- 146: "break not in matching construct" (Error, ANSI-violation)
-
- 'break' is only allowed inside of loops or switch-statements.
- Perhaps there are unbalanced '{' '}'.
-
-
- 147: "label <%s> was never defined" (Error, ANSI-violation)
-
- There is a goto to a label that was never defined.
-
-
- 148: "label <%s> was never used" (Warning)
-
- You defined a label, but there is no goto that jumps to it.
-
-
- 149: "register %s not ok" (Warning)
-
- There was an internal error (i.e. a bug in the compiler)!
- Please report the error to volker@vb.franken.de. Thanks!
-
-
- 150: "default not in switch" (Warning, ANSI-violation)
-
- A default label that is not in any switch-statement was found.
- Perhaps there are unbalanced '{' '}'.
-
-
- 151: "( expected" (Warning, ANSI-violation)
-
-
-
- 152: "loop eliminated" (Warning)
-
- There was a loop that will never be executed (e.g. while(0)...)
- and therefore the entire loop was eliminated.
- I do not know any reason for such loops, so there is probably an
- error.
-
-
- 153: "statement has no effect" (Warning)
-
- There is a statement that does not cause any side-effects (e.g.
- assignments, function calls etc.) and is therefore superfluous.
- E.g. you might have typed a==b; instead of a=b;
-
-
- 154: "'while' expected" (Warning, ANSI-violation)
-
- The 'while' in a do-while loop is missing.
-
-
- 155: "function should not return a value" (Warning)
-
- You specified an argument to return although the function is
- void. Declare the function as non-void.
-
-
- 156: "function should return a value" (Warning)
-
- You did not specify an argument to return although the function
- is not void. Declare the function as void or specify a return
- value.
-
-
- 157: "{ expected" (Warning, ANSI-violation)
-
-
-
- 158: "internal error %d in line %d of file %s !!" (Fatal, Error)
-
- There was an internal error (i.e. a bug in the compiler)!
- Please report the error to volker@vb.franken.de. Thanks!
-
-
- 159: "there is no message number %d" (Fatal)
-
- You tried to activate or suppress a message that does not exist.
-
-
- 160: "message number %d cannot be suppressed" (Fatal)
-
- You cannot suppress a message that displays a real error,
- ANSI-violation or another real problem.
- Only 'harmless' warnings can be suppressed.
-
-
- 161: "implicit declaration of function <%s>" (Warning)
-
- A function was called before it was declared and therefore
- implicitly declared as
-
- int function();
-
- This should be avoided in new programs.
-
-
- 162: "function call without prototype in scope" (Warning)
-
- When writing new programs it is probably sensible to use prototypes
- for every function. If a function is called without a prototype in
- scope this may cause incorrect type conversions and is usually an
- error.
-
-
- 163: "#pragma used" (Warning)
-
- Usage of #pragma should be avoided in portable programs.
-
-
- 164: "assignment in comparison context" (Warning)
-
- The expression in an if-, for-, while- or do-while-statement
- is an assignment, e.g.
-
- if(i=0)...
-
- This could an error, if you wanted if(i==0).
- If you turned on this warning and want it to shut up for a
- certain expression you can cast it to its type, e.g.
-
- if((int)(i=0))...
-
- Note that only assignments with '=' will be warned, not '+=' etc.
-
-
- 165: "comparison redundant because operand is unsigned" (Warning)
-
- A comparison with an unsigned variable is redundant, because
- the result will always be constant, e.g.
-
- unsigned int i;
- if(i<0)...
-
- This usually is a programming error and can be avoided in all cases.
-
-
- 166: "cast to narrow type may cause loss of precision" (Warning)
-
- A variable is cast to a type smaller than its original type, so
- that some information may get lost.
- However this warning will be displayed in lots of cases where
- no problem can arise, e.g. (short)(a==b).
-
-
- 167: "pointer cast may cause alignment problems" (Warning)
-
- A pointer is cast to a pointer to a type with stricter alignment
- requirements, i.e. the new pointer might be invalid if you do not
- know what you are doing.
- Those casts should be avoidable in all 'usual' cases.
-
-
- 168: "no declaration of global variable <%s> before definition" (Warning)
-
- It is usually good to declare all global variables (including
- functions) in header files.
-
-
- 169: "'extern' inside function" (Warning)
-
- Declaration of external variables in inner blocks is usually
- not a good idea.
-
-
- 170: "dead assignment to <%s> eliminated" (Warning)
-
- A variable is assigned a value that is never used or gets
- overwritten before it is used. If this occurs in real code then
- there is either an errror or an unnecessary assignment.
-
- This is detected only in optimizing compilation.
-
-
- 171: "var <%s> is used before defined" (Warning)
-
- The variable is used before it was assigned a value and therefore
- is undefined. It cannot be detected if the code where it is used
- can be reached, but if it is reached it will cause undefined
- behaviour. So it is most probably an error either way (see 170).
-
- However not all unitialized usages can be found.
-
- Also note that the compiler may choose convenient values for
- uninitialized variables. Example:
-
- int f(int a)
- {
- int x;
- if(a) x=0;
- return(x);
- }
-
- Here the optimizer may choose that x==0 if it is uninitialized and
- then only generate a return(0);
- It can also happen that you get different values if you read an
- uninitialized variable twice although it was not assigned a value
- inbetween.
-
- This is only detected in optimizing compilation.
-
-
- 172: "would need more than %ld optimizer passes for best results" (Warning)
-
- The optimizer would probably be able to do some further
- optimizations if you increased the number of allowed passes
- with the -optpasses=n option.
-
-
- 173: "function <%s> has no return statement" (Warning)
-
- A non-void function has no return statement. Either this function
- never returns (then better declare it as void) or it reaches
- end of control which would be an error.
-
- As main() cannot be declared as void you will not be warned if
- main has no return statement. If you want a warning for main, too,
- you can turn on warning 174.
-
-
- 174: "function <main> has no return statement" (Warning)
-
- The same like 173 for main, so you can turn it on/off separately.
-
-
- 175: "this code is weird" (Warning)
-
- The code has a very strange control flow. There is probably a
- jump inside a loop or something similar and the optimizer will
- not make any loop optimization and perhaps worse register
- allocation on this construct.
- There must be goto statements in the source.
-
- This warning is only detected in optimizing compilation.
-
-
- 176: "size of incomplete type not available" (Warning, ANSI-violation)
-
- An incomplete type must not be the argument for sizeof.
-
-
- 177: "line too long" (FATAL, Error, ANSI-violation, Preprocessor)
-
-
-
- 178: "identifier must begin with a letter or underscore" (FATAL, Error, ANSI-violation, Preprocessor)
-
-
-
- 179: "cannot redefine macro" (Error, ANSI-violation, Preprocessor)
-
-
-
- 180: "missing ) after argumentlist" (Error, ANSI-violation, Preprocessor)
-
-
-
- 181: "identifier expected" (Error, ANSI-violation, Preprocessor)
-
-
-
- 182: "illegal character in identifier" (Error, ANSI-violation, Preprocessor)
-
-
-
- 183: "missing operand before/after ##" (Error, ANSI-violation, Preprocessor)
-
-
-
- 184: "no macro-argument after #-operator" (Error, ANSI-violation, Preprocessor)
-
-
-
- 185: "macro redefinition not allowed" (Error, ANSI-violation, Preprocessor)
-
-
-
- 186: "unexpected end of file (unterminated comment)" (FATAL, Error, Preprocessor)
-
-
-
- 187: "too many nested includes" (FATAL, Error, Preprocessor)
-
-
-
- 188: "#else without #if/#ifdef/#ifndef" (FATAL, Error, ANSI-violation, Preprocessor)
-
-
-
- 189: "#else after #else" (Error, ANSI-violation, Preprocessor)
-
-
-
- 190: "#endif without #if" (Error, ANSI-violation, Preprocessor)
-
-
-
- 191: "cannot include file" (FATAL, Error, Preprocessor)
-
-
-
- 192: "expected \" or < in #include-directive" (Error, ANSI-violation, Preprocessor)
-
-
-
- 193: "unknown #-directive" (Warning, Preprocessor)
-
-
-
- 194: "wrong number of macro arguments" (Error, ANSI-violation, Preprocessor)
-
-
-
- 195: "macro argument expected" (Error, ANSI-violation, Preprocessor)
-
-
-
- 196: "out of memory" (FATAL, Error, Preprocessor)
-
-
-
- 197: "macro redefinition" (Warning, Preprocessor)
-
-
-
- 198: "/* in comment" (Warning, Preprocessor)
-
-
-
- 199: "cannot undefine macro" (Error, ANSI-violation, Preprocessor)
-
-
-
- 200: "characters after #-directive ignored" (Warning, Preprocessor)
-
-
-
- 201: "duplicate case labels" (Warning, ANSI-violation)
-
- Each case-label in a switch-statement must have a distinct constant
- value attached (after converting it to the type of the
- switch-expression).
-
-
- 202: "var <%s> is incomplete" (Warning, ANSI-violation)
-
- An incomplete var was defined. probably you wrote something like:
-
- int a[];
-
-
- 203: "long float is no longer valid" (Warning, ANSI-violation)
-
- 'long float' was a synonym for double in K&R C, but this is no longer
- allowed in ANSI C.
-
-
- 204: "long double is not really supported by vbcc" (Warning)
-
- vbcc does not know about long double yet and therefore will use it
- simply as a synonym for double. This should not break any legal code,
- but you will not get error messages if you e.g. assign a pointer to
- double to a pointer to long double.
-
-
- 205: "empty struct-declarations are not yet handled correct" (Warning)
-
- obsolete
-
-
- 206: "identifier too long (only %d characters are significant)" (Warning)
-
-
-
- 207: "illegal initialization of var <%s>" (Warning, ANSI-violation)
-
- Perhaps you tried to initialize a variable with external linkage
- in an inner block.
-
-
- 208: "suspicious loop" (Warning)
-
- vbcc thinks a loop-condition looks suspicious. A possible example
- could be for(i=0;i!=7;i+=2)
-
-
- 209: "ansi/iso-mode turned on" (Warning)
-
- You turned on the ANSI/ISO-conforming mode. This warning is always
- displayed unless it is suppressed. So vbcc cannot be blamed to miss
- a diagnostic for any constraint violation. :-)
-
-
- 210: "division by zero (result set to 0)" (Warning, ANSI-violation)
-
- Similar to warning 84.
-
-
- 211: "constant out of range" (Warning, ANSI-violation)
-
- An integral constant is too large to fit into an unsigned long.
-
-
- 212: "constant is unsigned due to size" (Warning)
-
- If an integral constant is so large that it cannot be represented
- as long its type is promoted to unsigned long.
-
-
- 213: "varargs function called without prototype in scope" (Warning)
-
- A function which takes a variable number of arguments must not be
- called without a prototype in scope. E.g. calling printf() without
- #include <stdio.h> may cause this warning.
-
-
- 214: "suspicious format string" (Warning)
-
- The format-string of a printf-/scanflike function seems to be corrupt
- or not matching the type of the arguments.
-
-
- 215: "format string contains \'\\0\'" (Warning)
-
- The format string for a printf-/scanflike function contains an
- embedded '\0' character.
-
-
- 216: "illegal use of keyword <%s>" (Warning, ANSI-violation)
-
- The reserved keywords of C may not be used as identifier.
-
-
- 217: "register <%s> used with wrong type" (Error)
-
-
- 218: "register <%s> is not free" (Error)
-
-
- 219: "'__reg' used in old-style function definition" (Warning)
-
-
- 220: "unknown register \"%s\"" (Warning)
-
-