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.

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

N<br />

negative integer implicitly converted to unsigned type<br />

A negative integer constant value appears in the source code, but the number cannot<br />

be represented as a signed int; there<strong>for</strong>e, the compiler automatically treats it as an<br />

unsigned int.<br />

nested extern declaration of ‘identifier’<br />

There are nested extern definitions of the specified identifier.<br />

no newline at end of file<br />

The last line of the source file is not terminated with a newline character.<br />

no previous declaration <strong>for</strong> ‘identifier’<br />

When compiling with the -Wmissing-declarations comm<strong>and</strong>-line option, the<br />

compiler ensures that functions are declared be<strong>for</strong>e they are defined. In this case, a<br />

function definition was encountered without a preceding function declaration.<br />

no previous prototype <strong>for</strong> ‘identifier’<br />

When compiling with the -Wmissing-prototypes comm<strong>and</strong>-line option, the<br />

compiler ensures that function prototypes are specified <strong>for</strong> all functions. In this case, a<br />

function definition was encountered without a preceding function prototype.<br />

no semicolon at end of struct or union<br />

A semicolon is missing at the end of the structure or union declaration.<br />

non-ISO-st<strong>and</strong>ard escape sequence, ‘seq’<br />

‘seq’ is ‘\e’ or ‘\E’ <strong>and</strong> is an extension to the ISO st<strong>and</strong>ard. The sequence can be used<br />

in a string or character constant <strong>and</strong> st<strong>and</strong>s <strong>for</strong> the ASCII character .<br />

non-static declaration <strong>for</strong> ‘identifier’ follows static<br />

The specified identifier was declared non-static after it was previously declared as<br />

static.<br />

‘noreturn’ function does return<br />

A function declared with the noreturn attribute returns. This is inconsistent.<br />

‘noreturn’ function returns non-void value<br />

A function declared with the noreturn attribute returns a non-void value. This is<br />

inconsistent.<br />

null <strong>for</strong>mat string<br />

When checking the argument list of a call to printf, scanf, etc., the compiler found that<br />

the <strong>for</strong>mat string was missing.<br />

O<br />

octal escape sequence out of range<br />

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

output constraint ‘constraint’ <strong>for</strong> oper<strong>and</strong> n is not at the beginning<br />

Output constraints in extended asm should be at the beginning.<br />

overflow in constant expression<br />

The constant expression has exceeded the range of representable values <strong>for</strong> its type.<br />

overflow in implicit constant conversion<br />

An implicit constant conversion resulted in a number that cannot be represented as a<br />

signed int; there<strong>for</strong>e, the compiler automatically treats it as an unsigned int.<br />

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

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

Saved successfully!

Ooh no, something went wrong!