SW500007 Microchip Technology, SW500007 Datasheet - Page 338

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
(263) members cannot be functions
A member of a structure or a union may not be a function. It may be a pointer to a function, e.g.:
(264) bad bitfield type
A bitfield may only have a type of int (signed or unsigned), e.g.:
(265) integer constant expected
A colon appearing after a member name in a structure declaration indicates that the member is a
bitfield. An integral constant must appear after the colon to define the number of bits in the bitfield,
e.g.:
If this was meant to be a structure with bitfields, then the following illustrates an example:
(266) storage class illegal
A structure or union member may not be given a storage class. Its storage class is determined by the
storage class of the structure, e.g.:
324
struct {
} object;
struct FREG {
} freg;
struct {
} my_struct;
struct {
} my_struct;
int a;
int get(int); /* this should be a pointer: int (*get)(int); */
char b0:1;
char
char b7:1;
unsigned first: /* woops -- should be: unsigned first; */
unsigned second;
unsigned first : 4; /* 4 bits wide */
unsigned second: 4; /* another 4 bits */
:6;
/* woops -- these must be part of an int, not char */
Error and Warning Messages
(Parser)
(Parser)
(Parser)
(Parser)

Related parts for SW500007