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.

Diagnostics<br />

function might be possible c<strong>and</strong>idate <strong>for</strong> attribute ‘noreturn’<br />

The compiler detected that the function does not return. If the function had been<br />

declared with the ‘noreturn’ attribute, then the compiler might have been able to<br />

generate better code.<br />

function returns address of local variable<br />

Functions should not return the addresses of local variables, since, when the function<br />

returns, the local variables are de-allocated.<br />

function returns an aggregate<br />

The return value of a function is an aggregate.<br />

function ‘name’ redeclared as inline<br />

previous declaration of function ‘name’ with attribute noinline<br />

Function ‘name’ was declared a second time with the keyword ‘inline’, which now<br />

allows the function to be considered <strong>for</strong> inlining.<br />

function ‘name’ redeclared with attribute noinline<br />

previous declaration of function ‘name’ was inline<br />

Function ‘name’ was declared a second time with the noinline attribute, which now<br />

causes it to be ineligible <strong>for</strong> inlining.<br />

function ‘identifier’ was previously declared within a block<br />

The specified function has a previous explicit declaration within a block, yet it has an<br />

implicit declaration on the current line.<br />

G<br />

GCC does not yet properly implement ‘[*]’ array declarators<br />

Variable length arrays are not currently supported by the compiler.<br />

H<br />

hex escape sequence out of range<br />

The hex sequence must be less than 100 in hex (256 in decimal).<br />

I<br />

ignoring asm-specifier <strong>for</strong> non-static local variable ‘identifier’<br />

The asm-specifier is ignored when it is used with an ordinary, non-register local<br />

variable.<br />

ignoring invalid multibyte character<br />

When parsing a multibyte character, the compiler determined that it was invalid. The<br />

invalid character is ignored.<br />

ignoring option ‘option’ due to invalid debug level specification<br />

A debug option was used with a debug level that is not a valid debug level.<br />

ignoring #pragma identifier<br />

The specified pragma is not supported by the compiler, <strong>and</strong> is ignored.<br />

imaginary constants are a GCC extention<br />

ISO C does not allow imaginary numeric constants.<br />

implicit declaration of function ‘identifier’<br />

The specified function has no previous explicit declaration (definition or function<br />

prototype), so the compiler makes assumptions about its return type <strong>and</strong> parameters.<br />

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

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

Saved successfully!

Ooh no, something went wrong!