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 />
initializer <strong>for</strong> static variable is not constant<br />
Static variable initializers must be constant.<br />
initializer <strong>for</strong> static variable uses complicated arithmetic<br />
Static variable initializers should not use complicated arithmetic.<br />
input oper<strong>and</strong> constraint contains ‘constraint’<br />
The specified constraint is not valid <strong>for</strong> an input oper<strong>and</strong>.<br />
int-array initialized from non-wide string<br />
Int-arrays should not be initialized from non-wide strings.<br />
interrupt functions must not take parameters<br />
An interrupt function cannot receive parameters. void must be used to state explicitly<br />
that the argument list is empty.<br />
interrupt functions must return void<br />
An interrupt function must have a return type of void. No other return type is allowed.<br />
interrupt modifier ‘name’ unknown<br />
The compiler was expecting ‘irq’, ‘altirq’ or ‘save’ as an interrupt attribute modifier.<br />
interrupt modifier syntax error<br />
There is a syntax error with the interrupt attribute modifier.<br />
interrupt pragma must have file scope<br />
#pragma interrupt must be at file scope.<br />
interrupt save modifier syntax error<br />
There is a syntax error with the ‘save’ modifier of the interrupt attribute.<br />
interrupt vector is not a constant<br />
The interrupt vector number must be an integer constant.<br />
interrupt vector number n is not valid<br />
A valid interrupt vector number is required.<br />
invalid #ident directive<br />
#ident should be followed by a quoted string literal.<br />
invalid arg to ‘__builtin_frame_address’<br />
The argument should be the level of the caller of the function (where 0 yields the frame<br />
address of the current function, 1 yields the frame address of the caller of the current<br />
function, <strong>and</strong> so on) <strong>and</strong> is an integer literal.<br />
invalid arg to ‘__builtin_return_address’<br />
The level argument must be an integer literal.<br />
invalid argument <strong>for</strong> ‘name’<br />
The compiler was expecting ‘data’ or ‘prog’ as the space attribute parameter.<br />
invalid character ‘character’ in #if<br />
This message appears when an unprintable character, such as a control character,<br />
appears after #if.<br />
invalid initial value <strong>for</strong> member ‘name’<br />
Bit-field ‘name’ can only be initialized by an integer.<br />
invalid initializer<br />
Do not use invalid initializers.<br />
© 2008 <strong>Microchip</strong> Technology Inc. DS51284H-page 171