17.02.2015 Views

CCS C Compiler Manual PCB / PCM / PCH

Create successful ePaper yourself

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

Error Messages<br />

Expect comma<br />

Expect WHILE<br />

Expecting *<br />

Expecting :<br />

Expecting <<br />

Expecting =<br />

Expecting ><br />

Expecting a (<br />

Expecting a , or )<br />

Expecting a , or }<br />

Expecting a .<br />

Expecting a ; or ,<br />

Expecting a ; or {<br />

Expecting a close paren<br />

Expecting a declaration<br />

Expecting a structure/union<br />

Expecting a variable<br />

Expecting an =<br />

Expecting a ]<br />

Expecting a {<br />

Expecting an array<br />

Expecting an identifier<br />

Expecting function name<br />

Expecting an opcode mnemonic<br />

This must be a Microchip mnemonic such as MOVLW or BTFSC.<br />

Expecting LVALUE such as a variable name or * expression<br />

This error will occur when a constant is used where a variable should be. For example 4=5; will<br />

give this error.<br />

Expecting a basic type<br />

Examples of a basic type are INT and CHAR.<br />

Expression must be a constant or simple variable<br />

The indicated expression must evaluate to a constant at compile time. For example 5*3+1 is<br />

permitted but 5*x+1 where X is a INT is not permitted. If X were a DEFINE that had a constant<br />

value then it is permitted.<br />

Expression must evaluate to a constant<br />

The indicated expression must evaluate to a constant at compile time. For example 5*3+1 is<br />

permitted but 5*x+1 where X is a INT is not permitted. If X were a DEFINE that had a constant<br />

value then it is permitted.<br />

Expression too complex<br />

This expression has generated too much code for the compiler to handle for a single<br />

expression. This is very rare but if it happens, break the expression up into smaller parts.<br />

Too many assembly lines are being generated for a single C statement. Contact <strong>CCS</strong> to<br />

increase the internal limits.<br />

EXTERNal symbol not found<br />

EXTERNal symbol type mis-match<br />

Extra characters on preprocessor command line<br />

341

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

Saved successfully!

Ooh no, something went wrong!