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 />

extra semicolon in struct or union specified<br />

The structure type or union type contains an extra semicolon.<br />

extra tokens at end of #‘directive’ directive<br />

The compiler detected extra text on the source line containing the #‘directive’ directive.<br />

F<br />

-ffunction-sections may affect debugging on some targets<br />

You may have problems with debugging if you specify both the -g option <strong>and</strong> the<br />

-ffunction-sections option.<br />

first argument of ‘identifier’ should be ‘int’<br />

Expecting declaration of first argument of specified identifier to be of type int.<br />

floating constant exceeds range of ‘double’<br />

A floating-point constant is too large or too small (in magnitude) to be represented as<br />

a ‘double’.<br />

floating constant exceeds range of ‘float’<br />

A floating-point constant is too large or too small (in magnitude) to be represented as<br />

a ‘float’.<br />

floating constant exceeds range of ‘long double’<br />

A floating-point constant is too large or too small (in magnitude) to be represented as<br />

a ‘long double’.<br />

floating point overflow in expression<br />

When folding a floating-point constant expression, the compiler found that the<br />

expression overflowed, that is, it could not be represented as float.<br />

‘type1’ <strong>for</strong>mat, ‘type2’ arg (arg ‘num’)<br />

The <strong>for</strong>mat is of type ‘type1’, but the argument being passed is of type ‘type2’.<br />

The argument in question is the ‘num’ argument.<br />

<strong>for</strong>mat argument is not a pointer (arg n)<br />

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

the specified argument number n was not a pointer, san the <strong>for</strong>mat specifier indicated<br />

it should be.<br />

<strong>for</strong>mat argument is not a pointer to a pointer (arg n)<br />

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

the specified argument number n was not a pointer san the <strong>for</strong>mat specifier indicated<br />

it should be.<br />

fprefetch-loop-arrays not supported <strong>for</strong> this target<br />

The option to generate instructions to prefetch memory is not supported <strong>for</strong> this target.<br />

function call has aggregate value<br />

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

function declaration isn’t a prototype<br />

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

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

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

function declared ‘noreturn’ has a ‘return’ statement<br />

A function was declared with the noreturn attribute-indicating that the function does not<br />

return-yet the function contains a return statement. This is inconsistent.<br />

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

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

Saved successfully!

Ooh no, something went wrong!