Microchip Technology XC8 Standard Compiler (Workstation) SW006021-1 SW006021-1 ユーザーズマニュアル

製品コード
SW006021-1
ページ / 518
Error and Warning Messages
 2012 Microchip Technology Inc.
DS52053B-page 395
(253) argument list conflicts with prototype 
(Parser)
The argument list in a function definition is not the same as a previous prototype for 
that function. Check that the number and types of the arguments are all the same.
extern int calc(int);   /* this is supposedly calc’s prototype */
int calc(int a, int b)  /* hmmm -- which is right? */
{                       /* error flagged here */
  return a + b;
}
(254) undefined *: "*" 
(Parser)
This is an internal compiler error. Contact Microchip Technical Support with details.
(255) not a member of the struct/union "*" 
(Parser)
This identifier is not a member of the structure or union type with which it used here, for 
example:
struct {
  int a, b, c;
} data;
if(data.d)    /* oops --
                 there is no member d in this structure */
  return;
(256) too much indirection 
(Parser)
A pointer declaration may only have 16 levels of indirection.
(257) only "register" storage class allowed 
(Parser)
The only storage class allowed for a function parameter is register, for example:
void process(static int input)
(258) duplicate qualifier 
(Parser)
There are two occurrences of the same qualifier in this type specification. This can 
occur either directly or through the use of a typedef. Remove the redundant qualifier. 
For example:
typedef volatile int vint;
/* oops -- this results in two volatile qualifiers */
volatile vint very_vol;
(259) can’t be qualified both far and near 
(Parser)
It is illegal to qualify a type as both far and near, for example:
far near int spooky;  /* oops -- choose far or near, not both */
(260) undefined enum tag "*" 
(Parser)
This enum tag has not been defined, for example:
enum WHAT what;  /* a definition for WHAT was never seen */
(261) struct/union member "*" redefined 
(Parser)
This name of this member of the struct or union has already been used in this struct 
or union, for example:
struct {
  int a;
  int b;
  int a;  /* oops -- a different name is required here */
} input;