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.

Diagnostics<br />

‘identifier’ is narrower than values of its type<br />

A bit-field member of a structure has <strong>for</strong> its type an enumeration, but the width of the<br />

field is insufficient to represent all enumeration values.<br />

‘storage class’ is not at beginning of declaration<br />

The specified storage class is not at the beginning of the declaration. Storage classes<br />

are required to come first in declarations.<br />

ISO C does not allow extra ‘;’ outside of a function<br />

An extra ‘;’ was found outside a function. This is not allowed by ISO C.<br />

ISO C does not support ‘++’ <strong>and</strong> ‘--’ on complex types<br />

The increment operator <strong>and</strong> the decrement operator are not supported on complex<br />

types in ISO C.<br />

ISO C does not support ‘~’ <strong>for</strong> complex conjugation<br />

The bitwise negation operator cannot be use <strong>for</strong> complex conjugation in ISO C.<br />

ISO C does not support complex integer types<br />

Complex integer types, such as __complex__ short int, are not supported in ISO C.<br />

ISO C does not support plain ‘complex’ meaning ‘double complex’<br />

Using __complex__ without another modifier is equivalent to ‘complex double’ which<br />

is not supported in ISO C.<br />

ISO C does not support the ‘char’ ‘kind of <strong>for</strong>mat’ <strong>for</strong>mat<br />

ISO C does not support the specification character ‘char’ <strong>for</strong> the specified ‘kind of<br />

<strong>for</strong>mat’.<br />

ISO C doesn’t support unnamed structs/unions<br />

All structures <strong>and</strong>/or unions must be named in ISO C.<br />

ISO C <strong>for</strong>bids an empty source file<br />

The file contains no functions or data. This is not allowed in ISO C.<br />

ISO C <strong>for</strong>bids empty initializer braces<br />

ISO C expects initializer values inside the braces.<br />

ISO C <strong>for</strong>bids nested functions<br />

A function has been defined inside another function.<br />

ISO C <strong>for</strong>bids omitting the middle term of a ?: expression<br />

The conditional expression requires the middle term or expression between the ‘?’ <strong>and</strong><br />

the ‘:’.<br />

ISO C <strong>for</strong>bids qualified void function return type<br />

A qualifier may not be used with a void function return type.<br />

ISO C <strong>for</strong>bids range expressions in switch statements<br />

Specifying a range of consecutive values in a single case label is not allowed in ISO C.<br />

ISO C <strong>for</strong>bids subscripting ‘register’ array<br />

Subscripting a ‘register’ array is not allowed in ISO C.<br />

ISO C <strong>for</strong>bids taking the address of a label<br />

Taking the address of a label is not allowed in ISO C.<br />

ISO C <strong>for</strong>bids zero-size array ‘name’<br />

The array size of ‘name’ must be larger than zero.<br />

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

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

Saved successfully!

Ooh no, something went wrong!