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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Error and Warning Messages(198) undefined struct/union: * (Parser)The specified structure or union tag is undefined, e.g.struct WHAT what; /* a definition for WHAT was never seen */(199) logical type required (Parser)The expression used as an operand to if, while statements or to boolean operators like ! and &&must be a scalar integral type, e.g.:struct FORMAT format;if(format) /* this operand must be a scaler type */format.a = 0;(200) can’t take address of register variable (Parser)A variable declared register may not have storage allocated for it in memory, and thus it is illegalto attempt to take the address of it by applying the & operator, e.g.:int * proc(register int in){int * ip = ∈ /* woops -- in may not have an address to take */return ip;}(201) can’t take this address (Parser)The expression which was the operand of the & operator is not one that denotes memory storage ("anlvalue") and therefore its address can not be defined, e.g.:ip = &8; /* woops -- you can’t take the address of a literal */(202) only lvalues may be assigned to or modified (Parser)Only an lvalue (i.e. an identifier or expression directly denoting addressable storage) can be assignedto or otherwise modified, e.g.:244int array[10];int * ip;char c;array = ip; /* array is not a variable, it cannot be written to */

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

Saved successfully!

Ooh no, something went wrong!