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 />

B<br />

bit-field ‘identifier’ has invalid type<br />

Bit-fields must be of enumerated or integral type.<br />

bit-field ‘identifier’ width not an integer constant<br />

Bit-field widths must be integer constants.<br />

both long <strong>and</strong> short specified <strong>for</strong> ‘identifier’<br />

A variable cannot be of type long <strong>and</strong> of type short.<br />

both signed <strong>and</strong> unsigned specified <strong>for</strong> ‘identifier’<br />

A variable cannot be both signed <strong>and</strong> unsigned.<br />

braced-group within expression allowed only inside a function<br />

It is illegal to have a braced-group within expression outside a function.<br />

break statement not within loop or switch<br />

Break statements must only be used within a loop or switch.<br />

__builtin_longjmp second argument must be 1<br />

__builtin_longjmp requires its second argument to be 1.<br />

C<br />

called object is not a function<br />

Only functions may be called in C.<br />

cannot convert to a pointer type<br />

The expression cannot be converted to a pointer type.<br />

cannot put object with volatile field into register<br />

It is not legal to put an object with a volatile field into a register.<br />

cannot reload integer constant oper<strong>and</strong> in ‘asm’<br />

The asm statement is invalid.<br />

cannot specify both near <strong>and</strong> far attributes<br />

The attributes near <strong>and</strong> far are mutually exclusive, only one may be used <strong>for</strong> a function<br />

or variable.<br />

cannot take address of bit-field ‘identifier’<br />

It is not legal to attempt to take address of a bit-field.<br />

can’t open ‘file’ <strong>for</strong> writing<br />

The system cannot open the specified ‘file’. Possible causes are not enough disk<br />

space to open the file, the directory does not exist, or there is no write permission in the<br />

destination directory.<br />

can’t set ‘attribute’ attribute after definition<br />

The ‘attribute’ attribute must be used when the symbol is defined.<br />

case label does not reduce to an integer constant<br />

Case labels must be compile-time integer constants.<br />

case label not within a switch statement<br />

Case labels must be within a switch statement.<br />

cast specifies array type<br />

It is not permissible <strong>for</strong> a cast to specify an array type.<br />

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

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

Saved successfully!

Ooh no, something went wrong!