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
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Diagnostics<br />
library function ‘identifier’ declared as non-function<br />
The specified function has the same name as a library function, yet is declared as<br />
something other than a function.<br />
line number out of range<br />
The limit <strong>for</strong> the line number <strong>for</strong> a #line directive in C89 is 32767 <strong>and</strong> in C99 is<br />
2147483647.<br />
‘identifier’ locally external but globally static<br />
The specified identifier is locally external but globally static. This is suspect.<br />
location qualifier ‘qualifier’ ignored<br />
Location qualifiers, which include ‘grp’ <strong>and</strong> ‘sfr’, are not used in the compiler, but are<br />
there <strong>for</strong> compatibility with <strong>MPLAB</strong> C <strong>Compiler</strong> <strong>for</strong> PIC18 <strong>MCUs</strong>.<br />
‘long’ switch expression not converted to ‘int’ in ISO C<br />
ISO C does not convert ‘long’ switch expressions to ‘int’.<br />
M<br />
‘main’ is usually a function<br />
The identifier main is usually used <strong>for</strong> the name of the main entry point of an<br />
application. The compiler detected that it was being used in some other way, <strong>for</strong><br />
example, as the name of a variable.<br />
‘operation’ makes integer from pointer without a cast<br />
A pointer has been implicitly converted to an integer.<br />
‘operation’ makes pointer from integer without a cast<br />
An integer has been implicitly converted to a pointer.<br />
mal<strong>for</strong>med ‘#pragma pack-ignored’<br />
The syntax of the pack pragma is incorrect.<br />
mal<strong>for</strong>med ‘#pragma pack(pop[,id])-ignored’<br />
The syntax of the pack pragma is incorrect.<br />
mal<strong>for</strong>med ‘#pragma pack(push[,id],)-ignored’<br />
The syntax of the pack pragma is incorrect.<br />
mal<strong>for</strong>med ‘#pragma weak-ignored’<br />
The syntax of the weak pragma is incorrect.<br />
‘identifier’ might be used uninitialized in this function<br />
The compiler detected a control path though a function which might use the specified<br />
identifier be<strong>for</strong>e it has been initialized.<br />
missing braces around initializer<br />
A required set of braces around an initializer is missing.<br />
missing initializer<br />
An initializer is missing.<br />
modification by ‘asm’ of read-only variable ‘identifier’<br />
A const variable is the left-h<strong>and</strong>-side of an assignment in an ‘asm’ statement.<br />
multi-character character constant<br />
A character constant contains more than one character.<br />
© 2008 <strong>Microchip</strong> Technology Inc. DS51284H-page 193