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.

16-Bit C <strong>Compiler</strong> User’s Guide<br />

concatenation of string literals with __FUNCTION__ is deprecated<br />

__FUNCTION__ will be h<strong>and</strong>led the same way as __func__ (which is defined by the<br />

ISO st<strong>and</strong>ard C99). __func__ is a variable, not a string literal, so it does not catenate<br />

with other string literals.<br />

conflicting types <strong>for</strong> ‘identifier’<br />

The specified identifier has multiple, inconsistent declarations.<br />

D<br />

data definition has no type or storage class<br />

A data definition was detected that lacked a type <strong>and</strong> storage class.<br />

data qualifier ‘qualifier’ ignored<br />

Data qualifiers, which include ‘access’, ‘shared’ <strong>and</strong> ‘overlay’, are not used in the compiler,<br />

but are there <strong>for</strong> compatibility with the <strong>MPLAB</strong> C <strong>Compiler</strong> <strong>for</strong> PIC18 <strong>MCUs</strong>.<br />

declaration of ‘identifier’ has ‘extern’ <strong>and</strong> is initialized<br />

Externs should not be initialized.<br />

declaration of ‘identifier’ shadows a parameter<br />

The specified identifier declaration shadows a parameter, making the parameter<br />

inaccessible.<br />

declaration of ‘identifier’ shadows a symbol from the parameter list<br />

The specified identifier declaration shadows a symbol from the parameter list, making<br />

the symbol inaccessible.<br />

declaration of ‘identifier’ shadows global declaration<br />

The specified identifier declaration shadows a global declaration, making the global<br />

inaccessible.<br />

‘identifier’ declared inline after being called<br />

The specified function was declared inline after it was called.<br />

‘identifier’ declared inline after its definition<br />

The specified function was declared inline after it was defined.<br />

‘identifier’ declared ‘static’ but never defined<br />

The specified function was declared static, but was never defined.<br />

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

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

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

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

‘identifier’ defined but not used<br />

The specified function was defined, but was never used.<br />

deprecated use of label at end of compound statement<br />

A label should not be at the end of a statement. It should be followed by a statement.<br />

dereferencing ‘void *’ pointer<br />

It is not correct to dereference a ‘void *’ pointer. Cast it to a pointer of the appropriate<br />

type be<strong>for</strong>e dereferencing the pointer.<br />

division by zero<br />

Compile-time division by zero has been detected.<br />

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

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

Saved successfully!

Ooh no, something went wrong!