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

Create successful ePaper yourself

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

Diagnostics<br />

anonymous union declared inside parameter list<br />

An anonymous union is declared inside a function parameter list. It is usually better<br />

programming practice to declare unions outside parameter lists, since they can never<br />

become complete types when defined inside parameter lists.<br />

anonymous variadic macros were introduced in C99<br />

Macros which accept a variable number of arguments is a C99 feature.<br />

argument ‘identifier’ might be clobbered by ‘longjmp’ or ‘v<strong>for</strong>k’<br />

An argument might be changed by a call to longjmp. These warnings are possible only<br />

in optimizing compilation.<br />

array ‘identifier’ assumed to have one element<br />

The length of the specified array was not explicitly stated. In the absence of in<strong>for</strong>mation<br />

to the contrary, the compiler assumes that it has one element.<br />

array subscript has type ‘char’<br />

An array subscript has type ‘char’.<br />

array type has incomplete element type<br />

Array types should not have incomplete element types.<br />

asm oper<strong>and</strong> n probably doesn’t match constraints<br />

The specified extended asm oper<strong>and</strong> probably doesn’t match its constraints.<br />

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

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

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

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

‘identifier’ attribute directive ignored<br />

The named attribute is not a known or supported attribute, <strong>and</strong> is there<strong>for</strong>e ignored.<br />

‘identifier’ attribute does not apply to types<br />

The named attribute may not be used with types. It is ignored.<br />

‘identifier’ attribute ignored<br />

The named attribute is not meaningful in the given context, <strong>and</strong> is there<strong>for</strong>e ignored.<br />

‘attribute’ attribute only applies to function types<br />

The specified attribute can only be applied to the return types of functions <strong>and</strong> not to<br />

other declarations.<br />

B<br />

backslash <strong>and</strong> newline separated by space<br />

While processing <strong>for</strong> escape sequences, a backslash <strong>and</strong> newline were found<br />

separated by a space.<br />

backslash-newline at end of file<br />

While processing <strong>for</strong> escape sequences, a backslash <strong>and</strong> newline were found at the<br />

end of the file.<br />

bit-field ‘identifier’ type invalid in ISO C<br />

The type used on the specified identifier is not valid in ISO C.<br />

braces around scalar initializer<br />

A redundant set of braces around an initializer is supplied.<br />

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

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

Saved successfully!

Ooh no, something went wrong!