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 Messagesextern int calc(int, int); /* this is supposedly calc’s prototype */int calc(int a, long int b) /* hmmm -- which is right? */{ /* error flagged here */return sin(b/a);}(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 HI-TECH Software 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, e.g.:struct {int a, b, c;} data;if(data.d) /* woops -- 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, e.g.:void process(static int input)254

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

Saved successfully!

Ooh no, something went wrong!