SW500009 Microchip Technology, SW500009 Datasheet - Page 380

HI-TECH FOR DSPIC/PIC24

SW500009

Manufacturer Part Number
SW500009
Description
HI-TECH FOR DSPIC/PIC24
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC24 & DsPICr
Datasheet

Specifications of SW500009

Supported Families
PIC24
Core Architecture
PIC, DsPIC
Software Edition
Standard
Kit Contents
Software And Docs
Tool Type
Compiler
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
DSPIC3X/PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
025
778-1003
778-1003
(761) sizeof yields 0
The code generator has taken the size of an object and found it to be zero. This almost certainly
indicates an error in your declaration of a pointer, e.g. you may have declared a pointer to a zero
length array. In general, pointers to arrays are of little use. If you require a pointer to an array of
objects of unknown length, you only need a pointer to a single object that can then be indexed or
incremented.
(763) constant left operand to "? :" operator
The left operand to a conditional operator ? is constant, thus the result of the tertiary operator ?:
will always be the same, e.g.:
(764) mismatched comparison
A comparison is being made between a variable or expression and a constant value which is not in
the range of possible values for that expression, e.g.:
(765) degenerate unsigned comparison
There is a comparison of an unsigned value with zero, which will always be true or false, e.g.:
will always be true, because an unsigned value can never be less than zero.
(766) degenerate signed comparison
There is a comparison of a signed value with the most negative value possible for this type, such
that the comparison will always be true or false, e.g.:
will always be true, because an 8 bit signed char has a maximum negative value of -128.
366
a = 8 ? b : c; /* this is the same as saying a = b; */
unsigned char c;
if(c > 300)
unsigned char c;
if(c >= 0)
char c;
if(c >= -128)
close();
/* woops -- how can this be true? */
Error and Warning Messages
(Code Generator)
(Code Generator)
(Code Generator)
(Code Generator)
(Code Generator)

Related parts for SW500009