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 />
too many arguments <strong>for</strong> <strong>for</strong>mat<br />
When checking the argument list of a call to printf, scanf, etc., the compiler found that<br />
the number of actual arguments was more than that required by the <strong>for</strong>mat string.<br />
traditional C ignores #‘directive’ with the # indented<br />
Traditionally, a directive is ignored unless its # is in column 1.<br />
traditional C rejects initialization of unions<br />
Unions cannot be initialized in traditional C.<br />
traditional C rejects the ‘ul’ suffix<br />
Suffix ‘u’ is not valid in traditional C.<br />
traditional C rejects the unary plus operator<br />
The unary plus operator is not valid in traditional C.<br />
trigraph ??char converted to char<br />
Trigraphs, which are a three-character sequence, can be used to represent symbols<br />
that may be missing from the keyboard. Trigraph sequences convert as follows:<br />
??( = [ ??) = ] ??< = { ??> = } ??= = # ??/ = \ ??' = ^ ??! = | ??- = ~<br />
trigraph ??char ignored<br />
Trigraph sequence is being ignored. char can be (, ), , =, /, ', !, or -<br />
type defaults to ‘int’ in declaration of ‘identifier’<br />
In the absence of an explicit type declaration <strong>for</strong> the specified identifier, the compiler<br />
assumes that its type is int.<br />
type mismatch with previous external decl<br />
previous external decl of ‘identifier’<br />
The type of the specified identifier does not match the previous declaration.<br />
type mismatch with previous implicit declaration<br />
An explicit declaration conflicts with a previous implicit declaration.<br />
type of ‘identifier’ defaults to ‘int’<br />
In the absence of an explicit type declaration, the compiler assumes that identifier’s<br />
type is int.<br />
type qualifiers ignored on function return type<br />
The type qualifier being used with the function return type is ignored.<br />
U<br />
undefining ‘defined’<br />
‘defined’ cannot be used as a macro name <strong>and</strong> should not be undefined.<br />
undefining ‘name’<br />
The #undef directive was used on a previously defined macro name ‘name’.<br />
union cannot be made transparent<br />
The transparent_union attribute was applied to a union, but the specified variable<br />
does not satisfy the requirements of that attribute.<br />
‘union identifier’ declared inside parameter list<br />
The specified 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 />
© 2008 <strong>Microchip</strong> Technology Inc. DS51284H-page 199