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.

P<br />

Diagnostics<br />

parameter has incomplete type<br />

A function parameter has an incomplete type.<br />

parameter names (without types) in function declaration<br />

The function declaration lists the names of the parameters but not their types.<br />

parameter points to incomplete type<br />

A function parameter points to an incomplete type.<br />

parameter ‘identifier’ points to incomplete type<br />

The specified function parameter points to an incomplete type.<br />

passing arg ‘number’ of ‘name’ as complex rather than floating due to prototype<br />

The prototype declares argument ‘number’ as a complex, but a float value is used so<br />

the compiler converts to a complex to agree with the prototype.<br />

passing arg ‘number’ of ‘name’ as complex rather than integer due to prototype<br />

The prototype declares argument ‘number’ as a complex, but an integer value is used<br />

so the compiler converts to a complex to agree with the prototype.<br />

passing arg ‘number’ of ‘name’ as floating rather than complex due to prototype<br />

The prototype declares argument ‘number’ as a float, but a complex value is used so<br />

the compiler converts to a float to agree with the prototype.<br />

passing arg ‘number’ of ‘name’ as ‘float’ rather than ‘double’ due to prototype<br />

The prototype declares argument ‘number’ as a float, but a double value is used so the<br />

compiler converts to a float to agree with the prototype.<br />

passing arg ‘number’ of ‘name’ as floating rather than integer due to prototype<br />

The prototype declares argument ‘number’ as a float, but an integer value is used so<br />

the compiler converts to a float to agree with the prototype.<br />

passing arg ‘number’ of ‘name’ as integer rather than complex due to prototype<br />

The prototype declares argument ‘number’ as an integer, but a complex value is used<br />

so the compiler converts to an integer to agree with the prototype.<br />

passing arg ‘number’ of ‘name’ as integer rather than floating due to prototype<br />

The prototype declares argument ‘number’ as an integer, but a float value is used so<br />

the compiler converts to an integer to agree with the prototype.<br />

pointer of type ‘void *’ used in arithmetic<br />

A pointer of type ‘void’ has no size <strong>and</strong> should not be used in arithmetic.<br />

pointer to a function used in arithmetic<br />

A pointer to a function should not be used in arithmetic.<br />

previous declaration of ‘identifier’<br />

This warning message appears in conjunction with another warning message. The<br />

previous message identifies the location of the suspect code. This message identifies<br />

the first declaration or definition of the identifier.<br />

previous implicit declaration of ‘identifier’<br />

This warning message appears in conjunction with the warning message “type<br />

mismatch with previous implicit declaration”. It locates the implicit declaration of the<br />

identifier that conflicts with the explicit declaration.<br />

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

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

Saved successfully!

Ooh no, something went wrong!