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 Messages(248) inappropriate "else" (Parser)An else keyword has been encountered that cannot be associated with an if statement. This maymean there is a missing brace or other syntactic error, e.g.:/* here is a comment which I have forgotten to close...if(a > b) {c = 0; /* ... that will be closed here, thus removing the “if” */else /* my “if” has been lost */c = 0xff;(249) probable missing "}" in previous block (Parser)The compiler has encountered what looks like a function or other declaration, but the precedingfunction has not been ended with a closing brace. This probably means that a closing brace has beenomitted from somewhere in the previous function, although it may well not be the last one, e.g.:void set(char a){PORTA = a;/* the closing brace was left out here */void clear(void) /* error flagged here */{PORTA = 0;}(251) array dimension redeclared (Parser)An array dimension has been declared as a different non-zero value from its previous declaration. Itis acceptable to redeclare the size of an array that was previously declared with a zero dimension,but not otherwise, e.g.:extern int array[5];int array[10]; /* woops -- has it 5 or 10 elements? */(252) argument * conflicts with prototype (Parser)The argument specified (argument 0 is the left most argument) of this function definition does notagree with a previous prototype for this function, e.g.:253

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

Saved successfully!

Ooh no, something went wrong!