SW500010 Microchip Technology, SW500010 Datasheet - Page 379

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
Error and Warning Messages
(320) ":" expected
A colon is missing after a case label, or after the keyword default. This often occurs when a
semicolon is accidentally typed instead of a colon, e.g.:
(321) label identifier expected
An identifier denoting a label must appear after goto, e.g.:
(322) enum tag or "{" expected
After the keyword enum must come either an identifier that is or will be defined as an enum tag, or
an opening brace, e.g.:
(323) struct/union tag or "{" expected
An identifier denoting a structure or union or an opening brace must follow a struct or union
keyword, e.g.:
You might mean something like:
switch(input) {
if(a)
/ * this is not BASIC -- a valid C label must follow a goto * /
enum 1, 2;
struct int a;
struct {
} my_struct;
case 0;
goto 20;
int a;
state = NEW;
/ * should be, e.g.: enum {one=1, two }; * /
/ * this is not how you define a structure * /
/ * oops -- that should have been: case 0: * /
(Parser)
(Parser)
(Parser)
(Parser)
379

Related parts for SW500010