SW500009 Microchip Technology, SW500009 Datasheet - Page 307

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
A typecast does not yield an lvalue, e.g.:
However you can write this using pointers:
(203) illegal operation on bit variable
Not all operations on bit variables are supported. This operation is one of those, e.g.:
(204) void function can’t return a value
A void function cannot return a value. Any return statement should not be followed by an expres-
sion, e.g.:
(205) integral type required
This operator requires operands that are of integral type only.
(206) illegal use of void expression
A void expression has no value and therefore you can’t use it anywhere an expression with a value
is required, e.g. as an operand to an arithmetic operator.
(207) simple type required for "*"
A simple type (i.e. not an array or structure) is required as an operand to this operator.
/* the contents of c cast to int is only a intermediate value */
(int)c = 1;
*(int *)&c = 1
bit
int * ip;
ip = &b; /* woops -- cannot take the address of a bit object */
void run(void)
{
}
step();
return 1;
b;
/* either run should not be void, or remove the 1 */
(Parser)
(Parser)
(Parser)
(Parser)
(Parser)
293

Related parts for SW500009