SW500009 Microchip Technology, SW500009 Datasheet - Page 314

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
(244) "default" case redefined
There is only allowed to be one default label in a switch statement. You have more than one, e.g.:
(245) "default" case not in switch
A label has been encountered called default but it is not enclosed by a switch statement. A
default label is only legal inside the body of a switch statement.
braces in the switch code which would prematurely terminate the switch statement. See example
for Error Message ’case’ not in switch on page 300.
(246) case label not in switch
A case label has been encountered, but there is no enclosing switch statement. A case label may
only appear inside the body of a switch statement.
in the switch code which would prematurely terminate the switch statement, e.g.:
300
If there is a switch statement before this default label, there may be one too many closing
If there is a switch statement before this case label, there may be one too many closing braces
switch(a) {
default:
default:
switch(input) {
b = 9;
break;
b = 10;
break;
case ’0’:
case ’1’:
case ’2’:
count++;
break;
if(count>MAX)
}
break;
count= 0;
/* if this is the default case... */
/* then what is this? */
/* woops -- this shouldn’t be here */
/* error flagged here */
Error and Warning Messages
(Parser)
(Parser)
(Parser)

Related parts for SW500009