07.04.2013 Views

MPLAB C Compiler for PIC24 MCUs and dsPIC DSCs ... - Microchip

MPLAB C Compiler for PIC24 MCUs and dsPIC DSCs ... - Microchip

MPLAB C Compiler for PIC24 MCUs and dsPIC DSCs ... - Microchip

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.

16-Bit C <strong>Compiler</strong> User’s Guide<br />

#endif without #if<br />

In a preprocessor conditional, the #if must be used be<strong>for</strong>e using the #endif.<br />

#error ‘message’<br />

This error appears in response to a #error directive.<br />

#if with no expression<br />

A expression that evaluates to a constant arithmetic value was expected.<br />

#include expects “FILENAME” or <br />

The file name <strong>for</strong> the #include is missing or incomplete. It must be enclosed by quotes<br />

or angle brackets.<br />

‘#’ is not followed by a macro parameter<br />

The stringsize operator, ‘#’ must be followed by a macro argument name.<br />

‘#keyword’ expects “FILENAME” or <br />

The specified ‘#keyword’ expects a quoted or bracketed filename as an argument.<br />

‘#’ is not followed by a macro parameter<br />

The ‘#’ operator should be followed by a macro argument name.<br />

‘##’ cannot appear at either end of a macro expansion<br />

The concatenation operator, ‘##’ may not appear at the start or the end of a macro<br />

expansion.<br />

A<br />

a parameter list with an ellipsis can’t match an empty parameter name list<br />

declaration<br />

The declaration <strong>and</strong> definition of a function must be consistent.<br />

“symbol” after #line is not a positive integer<br />

#line is expecting a source line number which must be positive.<br />

aggregate value used where a complex was expected<br />

Do not use aggregate values where complex values are expected.<br />

aggregate value used where a float was expected<br />

Do not use aggregate values where floating-point values are expected.<br />

aggregate value used where an integer was expected<br />

Do not use aggregate values where integer values are expected.<br />

alias arg not a string<br />

The argument to the alias attribute must be a string that names the target <strong>for</strong> which the<br />

current identifier is an alias.<br />

alignment may not be specified <strong>for</strong> ‘identifier’<br />

The aligned attribute may only be used with a variable.<br />

‘__alignof’ applied to a bit-field<br />

The ‘__alignof’ operator may not be applied to a bit-field.<br />

alternate interrupt vector is not a constant<br />

The interrupt vector number must be an integer constant.<br />

alternate interrupt vector number n is not valid<br />

A valid interrupt vector number is required.<br />

DS51284H-page 164 © 2008 <strong>Microchip</strong> Technology Inc.

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

Saved successfully!

Ooh no, something went wrong!