SW500010 Microchip Technology, SW500010 Datasheet - Page 364

HI-TECH C PRO FOR PIC10/12/16

SW500010

Manufacturer Part Number
SW500010
Description
HI-TECH C PRO FOR PIC10/12/16
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC10/12/16r
Datasheets

Specifications of SW500010

Supported Families
PIC10, PIC12, PIC16
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC10/12/16
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC10, PIC12, PIC14, PIC16, PIC16E
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
019P
778-1006
778-1006
(241) initialization syntax
The initialisation of this object is syntactically incorrect. Check for the correct placement and num-
ber of braces and commas, e.g.:
(242) illegal type for switch expression
A switch operation must have an expression that is either an integral type or an enumerated value,
e.g:
(243) inappropriate break/continue
A break or continue statement has been found that is not enclosed in an appropriate control
structure. A continue can only be used inside a while, for or do while loop, while break
can only be used inside those loops or a switch statement, e.g.:
(244) "default" case redefined
There is only allowed to be one default label in a switch statement. You have more than one, e.g.:
364
int iarray[10] = {{’a’, ’b’, ’c’};
/ * oops -- one two many {s * /
double d;
switch(d) {
}
switch(input) {
switch(a) {
default:
default:
case ’1.0’:
case 0:
b = 9;
break;
d = 0;
if(output == 0)
} / * oops! this shouldn’t be here and closed the switch * /
break;
input = 0xff;
/ * oops -- this must be integral * /
/ * if this is the default case... * /
/ * then what is this? * /
/ * this should be inside the switch * /
Error and Warning Messages
(Parser)
(Parser)
(Parser)
(Parser)

Related parts for SW500010