SW006012 Microchip Technology, SW006012 Datasheet - Page 183

C COMPILER FOR DSPIC30F FAMILY

SW006012

Manufacturer Part Number
SW006012
Description
C COMPILER FOR DSPIC30F FAMILY
Manufacturer
Microchip Technology
Type
MPLAB® C30 Compilerr
Series
PIC24 & DsPICr
Datasheets

Specifications of SW006012

Supported Families
PIC24, DsPIC30F And DsPIC33F
Core Architecture
PIC, DsPIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Tool Type
Compiler
Processor Series
PIC24, dsPIC
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
dsPIC30F
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
MPLAB C30 C Compiler Diagnostics
comparison between signed and unsigned
One of the operands of a comparison is signed, while the other is unsigned. The signed
operand will be treated as an unsigned value, which may not be correct.
comparison is always n
A comparison involves only constant expressions, so the compiler can evaluate the
runtime result of the comparison. The result is always n.
comparison is always n due to width of bit-field
A comparison involving a bit-field always evaluates to n because of the width of the
bit-field.
comparison is always false due to limited range of data type
A comparison will always evaluate to false at runtime, due to the range of the data
types.
comparison is always true due to limited range of data type
A comparison will always evaluate to true at runtime, due to the range of the data types.
comparison of promoted ~unsigned with constant
One of the operands of a comparison is a promoted ~unsigned, while the other is a
constant.
comparison of promoted ~unsigned with unsigned
One of the operands of a comparison is a promoted ~unsigned, while the other is
unsigned.
comparison of unsigned expression >= 0 is always true
A comparison expression compares an unsigned value with zero. Since unsigned
values cannot be less than zero, the comparison will always evaluate to true at runtime.
comparison of unsigned expression < 0 is always false
A comparison expression compares an unsigned value with zero. Since unsigned
values cannot be less than zero, the comparison will always evaluate to false at
runtime.
comparisons like X<=Y<=Z do not have their mathematical meaning
A C expression does not necessarily mean the same thing as the corresponding
mathematical expression. In particular, the C expression X<=Y<=Z is not equivalent to
the mathematical expression X ≤ Y ≤ Z.
conflicting types for built-in function 'identifier'
The specified function has the same name as a built-in function but is declared with
conflicting types.
const declaration for 'identifier' follows non-const
The specified identifier was declared const after it was previously declared as
non-const.
control reaches end of non-void function
All exit paths from non-void function should return an appropriate value. The compiler
detected a case where a non-void function terminates, without an explicit return value.
Therefore, the return value might be unpredictable.
conversion lacks type at end of format
When checking the argument list of a call to printf, scanf, etc., the compiler found that
a format field in the format string lacked a type specifier.
© 2007 Microchip Technology Inc.
DS51284F-page 177

Related parts for SW006012