11.07.2015 Views

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Error and Warning Messagesstruct {static int first; /* no additional qualifiers may be present with members */} ;(267) bad storage class (Code Generator)The code generator has encounterd a variable definition whose storage class is invalid, e.g.:auto int foo; /* auto not permitted with global variables */int power(static int a) /* paramters may not be static */{return foo * a;}(268) inconsistent storage class (Parser)A declaration has conflicting storage classes. Only one storage class should appear in a declaration,e.g.:extern static int where; /* so is it static or extern? */(269) inconsistent type (Parser)Only one basic type may appear in a declaration, e.g.:int float if; /* is it int or float? */(270) can’t be register (Parser)Only function parameters or auto variables may be declared using the register qualifier, e.g.:register int gi; /* this cannot be qualified register */int process(register int input) /* this is okay */{return input + gi;}257

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!