SW500007 Microchip Technology, SW500007 Datasheet - Page 334

PICC-18 PRO

SW500007

Manufacturer Part Number
SW500007
Description
PICC-18 PRO
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500007

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015P
778-1002
778-1002
(245) "default" 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 320.
(246) "case" 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.:
(247) duplicate label *
The same name is used for a label more than once in this function. Note that the scope of labels is
the entire function, not just the block that encloses a label, e.g.:
320
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(input) {
start:
start:
case ’0’:
case ’1’:
case ’2’:
if(a > 256)
if(a == 0)
count++;
break;
if(count>MAX)
}
break;
goto end;
goto start; /* which start label do I jump to? */
count= 0;
/* woops -- this shouldn’t be here */
/* error flagged here */
/* error flagged here */
Error and Warning Messages
(Parser)
(Parser)
(Parser)

Related parts for SW500007