[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

13. List of Errors

  1. "declaration expected" (Fatal, Error, ANSI-violation)

    Something is pretty wrong with the source.

  2. "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.

  3. "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.

  4. "Flag <%s> needs string" (Fatal)

    This option hast to be specified with a string parameter, e.g. -flag=foobar

  5. "Flag <%s> needs value" (Fatal)

    This option hast to be specified with an integer parameter, e.g. -flag=1234

  6. "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?

  7. "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.

  8. "Could not open <%s> for input" (Fatal)

    A file could not be opened.

  9. "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.

  10. "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.

  11. "left block 0" (Error, ANSI-violation)

    This error should not occur.

  12. "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{...}.

  13. "out of memory" (Fatal, Error)

    Guess what.

  14. "redeclaration of struct <%s>" (Error, ANSI-violation)

    You may not redeclare a struct/union in the same block.

  15. "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 ’*’?

  16. "function (%s) in struct/union" (Error, ANSI-violation)

    Functions cannot be members of structs/unions.

  17. "redeclaration of struct/union member <%s>" (Error, ANSI-violation)

    Two members of a struct/union have the same name.

  18. "redeclaration of <%s>" (Error, ANSI-violation)

    You used a name already in use in an enumeration.

  19. "invalid constant expression" (Error, ANSI-violation)

    ??? Nowhere to find...

  20. "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).

  21. "no declarator and no identifier in prototype" (Error, ANSI-violation)
  22. "invalid storage-class in prototype" (Error, ANSI-violation)

    Function parameters may only be auto or register.

  23. "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.

  24. "<%s> no member of struct/union" (Error, ANSI-violation)

    The struct/union does not contain a member called like that.

  25. "increment/decrement is only allowed for aithmetic and pointer types" (Error, ANSI-violation)
  26. "functions may not return arrays or functions" (Error, ANSI-violation)
  27. "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.

  28. "redefinition of var <%s>" (Error, ANSI-violation)
  29. "redeclaration of var <%s> with new storage-class" (Error, ANSI-violation)
  30. "first operand of conditional-expression must be arithmetic or pointer type" (Error, ANSI-violation)
  31. "multiple definitions of var <%s>" (Error, ANSI-violation)

    There have been multiple definitions of a global variable with initialization.

  32. "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

  33. "function definition in inner block" (Error, ANSI-violation)

    C does not allow nested functions.

  34. "redefinition of function <%s>" (Error, ANSI-violation)

    Defining two functions with the same name in one translation-unit is no good idea.

  35. "invalid storage-class for function" (Error, ANSI-violation)

    Functions must not have storage-classes register or auto.

  36. "declaration-specifiers expected" (Error, ANSI-violation)
  37. "declarator expected" (Error, ANSI-violation)
  38. "<%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.

  39. "assignment of different structs/unions" (Error, ANSI-violation)
  40. "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.

  41. "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).

  42. "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.

  43. "function initialized" (Error, Fatal, ANSI-violation)

    There was a ’=’ after a function declaration.

  44. "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.

  45. "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.

  46. "empty initialization" (Error, ANSI-violation)

    There was no valid expression after the ’=’ in a variable definition.

  47. "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.

  48. "double type-specifier" (Warning, ANSI-violation)
  49. "illegal type-specifier" (Warning, ANSI-violation)
  50. "multiple storage-classes" (Warning, ANSI-violation)
  51. "storage-class specifier should be first" (Warning, ANSI-violation)
  52. "bitfields must be ints" (Warning, ANSI-violation)
  53. "bitfield width must be constant integer" (Warning, ANSI-violation)
  54. "struct/union member needs identifier" (Warning, ANSI-violation)
  55. "; expected" (Warning, ANSI-violation)

    Probably you forgot a ’;’ or there is a syntactic error in an expression.

  56. "struct/union has no members" (Warning, ANSI-violation)

    You defined an empty struct or union.

  57. "} expected" (Warning, ANSI-violation)
  58. ", expected" (Warning, ANSI-violation)
  59. "invalid unsigned" (Warning, ANSI-violation)
  60. ") expected" (Warning, ANSI-violation)
  61. "array dimension has sidefx (will be ignored)" (Warning, ANSI-violation)
  62. "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.

  63. "] expected" (Warning, ANSI-violation)
  64. "mixed identifier- and parameter-type-list" (Warning, ANSI-violation)
  65. "var <%s> was never assigned a value" (Warning)
  66. "var <%s> was never used" (Warning)
  67. "invalid storage-class" (Warning, ANSI-violation)
  68. "type defaults to int" (Warning)
  69. "redeclaration of var <%s> with new type" (Warning, ANSI-violation)
  70. "redeclaration of parameter <%s>" (Warning, ANSI-violation)
  71. ": expected" (Warning, ANSI-violation)
  72. "illegal escape-sequence in string" (Warning, ANSI-violation)
  73. "character constant contains multiple chars" (Warning)
  74. "could not evaluate sizeof-expression" (Error, ANSI-violation)
  75. "" expected (unterminated string)" (Error, ANSI-violation)
  76. "something wrong with numeric constant" (Error, ANSI-violation)
  77. "identifier expected" (Fatal, Error, ANSI-violation)
  78. "definition does not match previous declaration" (Warning, ANSI-violation)
  79. "integer added to illegal pointer" (Warning, ANSI-violation)
  80. "offset equals size of object" (Warning)
  81. "offset out of object" (Warning, ANSI-violation)
  82. "only 0 should be cast to pointer" (Warning)
  83. "unknown identifier <%s>" (Error, ANSI-violation)
  84. "too few function arguments" (Warning, ANSI-violation)
  85. "division by zero (result set to 0)" (Warning, ANSI-violation)
  86. "assignment of different pointers" (Warning, ANSI-violation)
  87. "lvalue required for assignment" (Error, ANSI-violation)
  88. "assignment to constant type" (Error, ANSI-violation)
  89. "assignment to incomplete type" (Error, ANSI-violation)
  90. "operands for || and && have to be arithmetic or pointer" (Error, ANSI-violation)
  91. "bitwise operations need integer operands" (Error, ANSI-violation)
  92. "assignment discards const" (Warning, ANSI-violation)

    You assigned something like (const type *) to (type *).

  93. "relational expression needs arithmetic or pointer type" (Error, ANSI-violation)
  94. "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?

  95. "operand needs arithmetic type" (Error, ANSI-violation)
  96. "pointer arithmetic with void * is not possible" (Error, ANSI-violation)

    Adding/subtracting from a pointer to void is not possible.

  97. "pointers can only be subtracted" (Error, ANSI-violation)

    You cannot add, multiply etc. two pointers.

  98. "invalid types for operation <%s>" (Error, ANSI-violation)
  99. "invalid operand type" (Error, ANSI-violation)
  100. "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.

  101. "assignment discards volatile" (Warning, ANSI-violation)

    You assigned something like (volatile type *) to (type *).

  102. "<<, >> and % need integer operands" (Error, ANSI-violation)
  103. "casting from void is not allowed" (Error, ANSI-violation)

    Casting something of type void to anything makes no sense.

  104. "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.

  105. "only integers can be cast to pointers" (Error, ANSI-violation)
  106. "invalid cast" (Error, ANSI-violation)
  107. "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.

  108. "unary operator needs arithmetic type" (Error, ANSI-violation)
  109. "negation type must be arithmetic or pointer" (Error, ANSI-violation)
  110. "complement operator needs integer type" (Error, ANSI-violation)
  111. "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).

  112. "dereferenced object is no pointer" (Error, ANSI-violation)
  113. "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.

  114. "only 0 should be assigned to pointer" (Warning, ANSI-violation)

    You may not assign constants other than a null pointer to any pointer.

  115. "typedef <%s> is initialized" (Warning, ANSI-violation)
  116. "lvalue required to take address" (Error, ANSI-violation)

    You can only get the address of an object, but not of expressions etc.

  117. "unknown var <%s>" (Error, ANSI-violation)
  118. "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).

  119. "var <%s> initialized after ’extern’" (Warning)
  120. "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.

  121. "function definition after ’extern’" (Warning, ANSI-violation)
  122. "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.

  123. "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.

  124. "formal parameters conflict with parameter-type-list" (Warning, ANSI-violation)
  125. "parameter type defaults to int" (Warning)

    A function definition contains no explicit type specifier. ’int’ will be assumed.

  126. "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).

  127. "no declarator in prototype" (Warning, ANSI-violation)
  128. "static var <%s> never defined" (Warning)
  129. "} expected" (Warning)
  130. "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.

  131. "label empty" (Error, ANSI-violation)

    There was a ’:’ without an identifier before it.

  132. "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.

  133. "case without switch" (Error, ANSI-violation)

    A case label was found outside of any switch-statements.

  134. "case-expression must be constant" (Error, ANSI-violation)

    The expression after ’case’ must be constant.

  135. "case-expression must be integer" (Error, ANSI-violation)

    The expression after ’case’ must be integer.

  136. "empty if-expression" (Error, ANSI-violation)

    There was no valid expression after ’if’.

  137. "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.

  138. "empty switch-expression" (Error, ANSI-violation)

    There was no valid expression after ’switch’.

  139. "switch-expression must be integer" (Error, ANSI-violation)

    The expression after ’switch’ must be an integer.

  140. "multiple default labels" (Error, ANSI-violation)

    There was more than one default label in a switch-statement.

  141. "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.

  142. "empty while-expression" (Error, ANSI-violation)

    There was no valid expression after ’while’.

  143. "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.

  144. "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.

  145. "goto without label" (Error, ANSI-violation)

    ’goto’ must be followed by a label.

  146. "continue not within loop" (Error, ANSI-violation)

    ’continue’ is only allowed inside of loops. Perhaps there are unbalanced ’{’ ’}’.

  147. "break not in matching construct" (Error, ANSI-violation)

    ’break’ is only allowed inside of loops or switch-statements. Perhaps there are unbalanced ’{’ ’}’.

  148. "label <%s> was never defined" (Error, ANSI-violation)

    There is a goto to a label that was never defined.

  149. "label <%s> was never used" (Warning)

    You defined a label, but there is no goto that jumps to it.

  150. "register %s not ok" (Warning)

    There was an internal error (i.e. a bug in the compiler)! Please report the error to vb@compilers.de. Thanks!

  151. "default not in switch" (Warning, ANSI-violation)

    A default label that is not in any switch-statement was found. Perhaps there are unbalanced ’{’ ’}’.

  152. "( expected" (Warning, ANSI-violation)
  153. "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.

  154. "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;

  155. "’while’ expected" (Warning, ANSI-violation)

    The ’while’ in a do-while loop is missing.

  156. "function should not return a value" (Warning)

    You specified an argument to return although the function is void. Declare the function as non-void.

  157. "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.

  158. "{ expected" (Warning, ANSI-violation)
  159. "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 vb@compilers.de. Thanks!

  160. "there is no message number %d" (Fatal)

    You tried to activate or suppress a message that does not exist.

  161. "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.

  162. "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.

  163. "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.

  164. "#pragma used" (Warning)

    Usage of #pragma should be avoided in portable programs.

  165. "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.

  166. "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.

  167. "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).

  168. "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.

  169. "no declaration of global variable <%s> before definition" (Warning)

    It is usually good to declare all global variables (including functions) in header files.

  170. "’extern’ inside function" (Warning)

    Declaration of external variables in inner blocks is usually not a good idea.

  171. "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.

  172. "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.

  173. "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.

  174. "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.

  175. "function <main> has no return statement" (Warning)

    The same like 173 for main, so you can turn it on/off separately.

  176. "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.

  177. "size of incomplete type not available" (Warning, ANSI-violation)

    An incomplete type must not be the argument for sizeof.

  178. "line too long" (FATAL, Error, ANSI-violation, Preprocessor)
  179. "identifier must begin with a letter or underscore" (FATAL, Error, ANSI-violation, Preprocessor)
  180. "cannot redefine macro" (Error, ANSI-violation, Preprocessor)
  181. "missing ) after argumentlist" (Error, ANSI-violation, Preprocessor)
  182. "identifier expected" (Error, ANSI-violation, Preprocessor)
  183. "illegal character in identifier" (Error, ANSI-violation, Preprocessor)
  184. "missing operand before/after ##" (Error, ANSI-violation, Preprocessor)
  185. "no macro-argument after #-operator" (Error, ANSI-violation, Preprocessor)
  186. "macro redefinition not allowed" (Error, ANSI-violation, Preprocessor)
  187. "unexpected end of file (unterminated comment)" (FATAL, Error, Preprocessor)
  188. "too many nested includes" (FATAL, Error, Preprocessor)
  189. "#else without #if/#ifdef/#ifndef" (FATAL, Error, ANSI-violation, Preprocessor)
  190. "#else after #else" (Error, ANSI-violation, Preprocessor)
  191. "#endif without #if" (Error, ANSI-violation, Preprocessor)
  192. "cannot include file" (FATAL, Error, Preprocessor)
  193. "expected \" or < in #include-directive" (Error, ANSI-violation, Preprocessor)
  194. "unknown #-directive" (Warning, Preprocessor)
  195. "wrong number of macro arguments" (Error, ANSI-violation, Preprocessor)
  196. "macro argument expected" (Error, ANSI-violation, Preprocessor)
  197. "out of memory" (FATAL, Error, Preprocessor)
  198. "macro redefinition" (Warning, Preprocessor)
  199. "/* in comment" (Warning, Preprocessor)
  200. "cannot undefine macro" (Error, ANSI-violation, Preprocessor)
  201. "characters after #-directive ignored" (Warning, Preprocessor)
  202. "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).

  203. "var <%s> is incomplete" (Warning, ANSI-violation)

    An incomplete var was defined. probably you wrote something like:

    int a[];

  204. "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.

  205. "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.

  206. "empty struct-declarations are not yet handled correct" (Warning)

    obsolete

  207. "identifier too long (only %d characters are significant)" (Warning)
  208. "illegal initialization of var <%s>" (Warning, ANSI-violation)

    Perhaps you tried to initialize a variable with external linkage in an inner block.

  209. "suspicious loop" (Warning)

    vbcc thinks a loop-condition looks suspicious. A possible example could be for(i=0;i!=7;i+=2)

  210. "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. :-)

  211. "division by zero (result set to 0)" (Warning, ANSI-violation)

    Similar to warning 84.

  212. "constant out of range" (Warning, ANSI-violation)

    An integral constant is too large to fit into an unsigned long.

  213. "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.

  214. "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.

  215. "suspicious format string" (Warning)

    The format-string of a printf-/scanflike function seems to be corrupt or not matching the type of the arguments.

  216. "format string contains \’\\0\’" (Warning)

    The format string for a printf-/scanflike function contains an embedded ’\0’ character.

  217. "illegal use of keyword <%s>" (Warning, ANSI-violation)

    The reserved keywords of C may not be used as identifier.

  218. "register <%s> used with wrong type" (Error)
  219. "register <%s> is not free" (Error)
  220. "’__reg’ used in old-style function definition" (Warning)
  221. "unknown register \"%s\"" (Warning)
  222. "’...’ only allowed with prototypes" (Warning, ANSI-violation)
  223. "Hey, do you really know the priority of ’&&’ vs. ’||’?" (Warning)
  224. "be careful with priorities of <</>> vs. +/-" (Warning)
  225. "adress of auto variable returned" (Warning)
  226. "void function returns a void expression" (Warning)
  227. "redeclaration of typedef <%s>" (Warning, ANSI-violation)
  228. "multiple specification of attribute \"%s\"" (Warning)
  229. "redeclaration of var \"%s\" with differing setting of attribute \"%s\"" (Warning)
  230. "string-constant expected" (Error)
  231. "tag \"%s\" used for wrong type" (Warning, ANSI-violation)
  232. "member after flexible array member" (Error, ANSI-violation)
  233. "illegal number" (Error, ANSI-violation)
  234. "void character constant" (Preprocessor, Error, ANSI-violation)
  235. "spurious tail in octal character constant" (Preprocessor, Error, ANSI-violation)
  236. "spurious tail in hexadecimal character constant" (Preprocessor, Error, ANSI-violation)
  237. "illegal escape sequence in character constant" (Preprocessor, Error, ANSI-violation)
  238. "invalid constant integer value" (Preprocessor, Error, ANSI-violation)
  239. "a right parenthesis was expected" (Preprocessor, Error, ANSI-violation)
  240. "a colon was expected" (Preprocessor, Error, ANSI-violation)
  241. "truncated constant integral expression" (Preprocessor, Error, ANSI-violation)
  242. "rogue operator ’%s’ in constant integral expression" (Preprocessor, Error, ANSI-violation)
  243. "invalid token in constant integral expression" (Preprocessor, Error, ANSI-violation)
  244. "trailing garbage in constant integral expression" (Preprocessor, Error, ANSI-violation)
  245. "void condition for a #if/#elif" (Preprocessor, Error, ANSI-violation)
  246. "void condition (after expansion) for a #if/#elif" (Preprocessor, Error, ANSI-violation)
  247. "invalid ’#include’" (Preprocessor, Error, ANSI-violation)
  248. "macro expansion did not produce a valid filename for #include" (Preprocessor, Error, ANSI-violation)
  249. "file ’%s’ not found" (Preprocessor, Error, ANSI-violation)
  250. "not a valid number for #line" (Preprocessor, Error, ANSI-violation)
  251. "not a valid filename for #line" (Preprocessor, Error, ANSI-violation)
  252. "rogue ’#’" (Preprocessor, Error, ANSI-violation)
  253. "rogue #else" (Preprocessor, Error, ANSI-violation)
  254. "rogue #elif" (Preprocessor, Error, ANSI-violation)
  255. "unmatched #endif" (Preprocessor, Error, ANSI-violation)
  256. "unknown cpp directive ’#%s’" (Preprocessor, Error, ANSI-violation)
  257. "unterminated #if construction" (Preprocessor, Error, ANSI-violation)
  258. "could not flush output (disk full ?)" (Preprocessor, Error, ANSI-violation)
  259. "truncated token" (Preprocessor, Error, ANSI-violation)
  260. "illegal character ’%c’" (Preprocessor, Error, ANSI-violation)
  261. "unfinished string at end of line" (Preprocessor, Error, ANSI-violation)
  262. "missing macro name" (Preprocessor, Error, ANSI-violation)
  263. "trying to redefine the special macro %s" (Preprocessor, Error, ANSI-violation)
  264. "truncated macro definition" (Preprocessor, Error, ANSI-violation)
  265. "’...’ must end the macro argument list" (Preprocessor, Error, ANSI-violation)
  266. "void macro argument" (Preprocessor, Error, ANSI-violation)
  267. "missing comma in macro argument list" (Preprocessor, Error, ANSI-violation)
  268. "invalid macro argument" (Preprocessor, Error, ANSI-violation)
  269. "duplicate macro argument" (Preprocessor, Error, ANSI-violation)
  270. "’__VA_ARGS__’ is forbidden in macros with a fixed number of arguments" (Preprocessor, Error, ANSI-violation)
  271. "operator ’##’ may neither begin nor end a macro" (Preprocessor, Error, ANSI-violation)
  272. "operator ’#’ not followed by a macro argument" (Preprocessor, Error, ANSI-violation)
  273. "macro ’%s’ redefined unidentically" (Preprocessor, Error, ANSI-violation)
  274. "not enough arguments to macro" (Preprocessor, Error, ANSI-violation)
  275. "unfinished macro call" (Preprocessor, Error, ANSI-violation)
  276. "too many argument to macro" (Preprocessor, Error, ANSI-violation)
  277. "operator ’##’ produced the invalid token ’%s%s’" (Preprocessor, Error, ANSI-violation)
  278. "quad sharp" (Preprocessor, Error, ANSI-violation)
  279. "void macro name" (Preprocessor, Error, ANSI-violation)
  280. "macro %s already defined" (Preprocessor, Error, ANSI-violation)
  281. "trying to undef special macro %s" (Preprocessor, Error, ANSI-violation)
  282. "illegal macro name for #ifdef" (Preprocessor, Error, ANSI-violation)
  283. "unfinished #ifdef" (Preprocessor, Error, ANSI-violation)
  284. "illegal macro name for #undef" (Preprocessor, Error, ANSI-violation)
  285. "unfinished #undef" (Preprocessor, Error, ANSI-violation)
  286. "illegal macro name for #ifndef" (Preprocessor, Error, ANSI-violation)
  287. "unfinished #ifndef" (Preprocessor, Error, ANSI-violation)
  288. "reconstruction of <foo> in #include" (Preprocessor, Warning)
  289. "comment in the middle of a cpp directive" (Preprocessor, Warning)
  290. "null cpp directive" (Preprocessor, Warning)
  291. "rogue ’#’ in code compiled out" (Preprocessor, Warning)
  292. "rogue ’#’ dumped" (Preprocessor, Warning)
  293. "#error%s" (Preprocessor, ANSI-violation, Error)
  294. "trigraph ?""?%c encountered" (Preprocessor, Warning)
  295. "unterminated #if construction (depth %ld)" (Preprocessor, Error, ANSI-violation)
  296. "malformed identifier with UCN: ’%s’" (Preprocessor, Warning, ANSI-violation)
  297. "truncated UTF-8 character" (Preprocessor, Warning, ANSI-violation)
  298. "identifier not followed by whitespace in #define" (Preprocessor, Warning, ANSI-violation)
  299. "assignment discards restrict" (Warning, ANSI-violation)
  300. "storage-class in declaration within for() converted to auto" (Warning, ANSI-violation)
  301. "corrupted special object" (ANSI-violation, Fatal)
  302. "<inline> only allowed in function declarations" (Error, ANSI-violation)
  303. "reference to static variable <%s> in inline function with external linkage" (Error, ANSI-violation)
  304. "underflow of pragma popwarn" (Error, ANSI-violation)
  305. "invalid argument to _Pragma" (Preprocessor, Error, ANSI-violation)
  306. "missing comma before ’...’" (Preprocessor, Error, ANSI-violation)
  307. "padding bytes behind member <%s>" (Warning)
  308. "member <%s> does not have natural alignment" (Warning)
  309. "function <%s> exceeds %s limit" (Warning)
  310. "%s could not be calculated for function <%s>" (Warning)
  311. "offsetof applied to non-struct" (Error, ANSI-violation)
  312. "trailing garbage in #ifdef" (Preprocessor, Warning, ANSI-violation)
  313. "too many arguments to macro" (Preprocessor, Warning, ANSI-violation)
  314. "truncated comment" (Preprocessor, Warning|ANSI-violation)
  315. "trailing garbage in preprocessing directive" (Preprocessor, Warning, ANSI-violation)
  316. "variable-length array must have auto storage-class" (Error, ANSI-violation)
  317. "member <%s> has type with zero alignment/size (probably void)" (Error, ANSI-violation, Fatal)
  318. "stack information for target <%s> unavailable" (Warning)
  319. "used registers information unavailable for target <%s>" (Warning)
  320. "computed %sstack usage %d but set to %d" (Warning)
  321. "unable to compute call targets" (Warning)
  322. "computed register usage differs from specified one" (Warning)
  323. "trailing garbage in #include" (Preprocessor, Warning ,ANSI-violation)
  324. "target-warning: %s" (Warning)
  325. "target-error: %s" (Error)

[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated by vb on January 3, 2015 using texi2html 1.82.