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

increment of read-only member ‘name’<br />

The member ‘name’ was declared as const <strong>and</strong> cannot be modified by incrementing.<br />

increment of read-only variable ‘name’<br />

‘name’ was declared as const <strong>and</strong> cannot be modified by incrementing.<br />

initialization of a flexible array member<br />

A flexible array member is intended to be dynamically allocated not statically.<br />

‘identifier’ initialized <strong>and</strong> declared ‘extern’<br />

Externs should not be initialized.<br />

initializer element is not constant<br />

Initializer elements should be constant.<br />

inline function ‘name’ given attribute noinline<br />

The function ‘name’ has been declared as inline, but the noinline attribute prevents the<br />

function from being considered <strong>for</strong> inlining.<br />

inlining failed in call to ‘identifier’ called from here<br />

The compiler was unable to inline the call to the specified function.<br />

integer constant is so large that it is unsigned<br />

An integer constant value appears in the source code without an explicit unsigned<br />

modifier, yet the number cannot be represented as a signed int; there<strong>for</strong>e, the compiler<br />

automatically treats it as an unsigned int.<br />

integer constant is too large <strong>for</strong> ‘type’ type<br />

An integer constant should not exceed 2^32 - 1 <strong>for</strong> an unsigned long int, 2^63 - 1 <strong>for</strong> a<br />

long long int or 2^64 - 1 <strong>for</strong> an unsigned long long int.<br />

integer overflow in expression<br />

When folding an integer constant expression, the compiler found that the expression<br />

overflowed; that is, it could not be represented as an int.<br />

invalid application of ‘sizeof’ to a function type<br />

It is not recommended to apply the sizeof operator to a function type.<br />

invalid application of ‘sizeof’ to a void type<br />

The sizeof operator should not be applied to a void type.<br />

invalid digit ‘digit’ in octal constant<br />

All digits must be within the radix being used. For instance, only the digits 0 thru 7 may<br />

be used <strong>for</strong> the octal radix.<br />

invalid second arg to __builtin_prefetch; using zero<br />

Second argument must be 0 or 1.<br />

invalid storage class <strong>for</strong> function ‘name’<br />

‘auto’ storage class should not be used on a function defined at the top level. ‘static’<br />

storage class should not be used if the function is not defined at the top level.<br />

invalid third arg to __builtin_prefetch; using zero<br />

Third argument must be 0, 1, 2, or 3.<br />

‘identifier’ is an unrecognized <strong>for</strong>mat function type<br />

The specified identifier, used with the <strong>for</strong>mat attribute, is not one of the recognized<br />

<strong>for</strong>mat function types printf, scanf, or strftime.<br />

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

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

Saved successfully!

Ooh no, something went wrong!