Microchip Technology XC8 Standard Compiler (Workstation) SW006021-1 SW006021-1 Manual Do Utilizador
Códigos do produto
SW006021-1
Error and Warning Messages
2012 Microchip Technology Inc.
DS52053B-page 399
(285) no identifier in declaration
(Parser)
The identifier is missing in this declaration. This error can also occur where the compiler
has been confused by such things as missing closing braces, for example:
has been confused by such things as missing closing braces, for example:
void interrupt(void) /* what is the name of this function? */
{
}
(286) declarator too complex
(Parser)
This declarator is too complex for the compiler to handle. Examine the declaration and
find a way to simplify it. If the compiler finds it too complex, so will anybody maintaining
the code.
find a way to simplify it. If the compiler finds it too complex, so will anybody maintaining
the code.
(287) arrays of bits or pointers to bit are illegal
(Parser)
It is not legal to have an array of bits, or a pointer to bit variable, for example:
bit barray[10]; /* wrong -- no bit arrays */
bit * bp; /* wrong -- no pointers to bit variables */
(288) only functions may be void
(Parser)
A variable may not be void. Only a function can be void, for example:
int a;
void b; /* this makes no sense */
(289) only functions may be qualified "interrupt"
(Parser)
The qualifier interrupt may not be applied to anything except a function, for
example:
example:
/* variables cannot be qualified interrupt */
interrupt int input;
(290) illegal function qualifier(s)
(Parser)
A qualifier has been applied to a function which makes no sense in this context. Some
qualifier only make sense when used with an lvalue, i.e., const or volatile. This
may indicate that you have forgotten a star * that is indicating that the function should
return a pointer to a qualified object, for example:
qualifier only make sense when used with an lvalue, i.e., const or volatile. This
may indicate that you have forgotten a star * that is indicating that the function should
return a pointer to a qualified object, for example:
const char ccrv(void) /* const * char ccrv(void) perhaps? */
{ /* error flagged here */
return ccip;
}
(291) K&R identifier "*" not an argument
(Parser)
This identifier that has appeared in a K&R style argument declarator is not listed inside
the parentheses after the function name, for example:
the parentheses after the function name, for example:
int process(input)
int unput; /* oops -- that should be int input; */
{
}
(292) function parameter may not be a function
(Parser)
A function parameter may not be a function. It may be a pointer to a function, so per-
haps a "*" has been omitted from the declaration.
haps a "*" has been omitted from the declaration.
(293) bad size in index_type()
(Parser)
This is an internal compiler error. Contact Microchip Technical Support with details.