Download 032 Manual - Digi-Key

Transcript
Error and Warning Messages
(190)
illegal type for index expression
(Parser)
An index expression must be either integral or an enumerated value, e.g.:
int i, array[10];
i = array[3.5];
/* oops -exactly which element do you mean? */
(191)
cast type must be scalar or void
(Parser)
A typecast (an abstract type declarator enclosed in parentheses) must denote a type which is either
scalar (i.e. not an array or a structure) or the type void, e.g.:
lip = (long [])input;
(192)
/* oops -- maybe: lip = (long *)input */
undefined identifier "*"
(Parser)
This symbol has been used in the program, but has not been defined or declared. Check for spelling
errors if you think it has been defined.
(193)
not a variable identifier "*"
(Parser)
This identifier is not a variable; it may be some other kind of object, e.g. a label.
(194)
")" expected
(Parser)
A closing parenthesis, ), was expected here. This may indicate you have left out this character in an
expression, or you have some other syntax error. The error is flagged on the line at which the code
first starts to make no sense. This may be a statement following the incomplete expression, e.g.:
if(a == b
b = 0;
(195)
/* the closing parenthesis is missing here */
/* the error is flagged here */
expression syntax
(Parser)
This expression is badly formed and cannot be parsed by the compiler, e.g.:
a /=% b;
/* oops -- maybe that should be: a /= b; */
303