SW500009 Microchip Technology, SW500009 Datasheet - Page 335

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
Error and Warning Messages
will perform a sign extension of the char variable to the longer type. If you do not want this to take
place, use a cast, e.g.:
(356) implicit conversion of float to integer
A floating point value has been assigned or otherwise converted to an integral type. This could result
in truncation of the floating point value. A typecast will make this warning go away.
If you do intend to use an expression like this, then indicate that this is so by a cast:
(357) illegal conversion of integer to pointer
An integer has been assigned to or otherwise converted to a pointer type. This will usually mean you
have used the wrong variable, but if this is genuinely what you want to do, use a typecast to inform
the compiler that you want the conversion and the warning will be suppressed. This may also mean
you have forgotten the & address operator, e.g.:
If you do intend to use an expression like this, then indicate that this is so by a cast:
(358) illegal conversion of pointer to integer
A pointer has been assigned to or otherwise converted to a integral type. This will usually mean you
have used the wrong variable, but if this is genuinely what you want to do, use a typecast to inform
the compiler that you want the conversion and the warning will be suppressed. This may also mean
you have forgotten the * dereference operator, e.g.:
ui = sc;
ui = (unsigned char)sc;
double dd;
int i;
i = dd;
i = (int)dd;
int * ip;
int i;
ip = i;
ip = (int *)i;
/* is this really what you meant? */
/* woops -- did you mean ip = &i ? */
/* if sc contains 0xff, ui will contain 0xffff for example */
(Parser)
(Parser)
(Parser)
321

Related parts for SW500009