i puzzle with a simply bitfield code, but get it not runing under BoostC for Pic18F2550.
tested the same code under PIC24 and it runs without problems.
can it be, that BoostC doesn't support Bitfields?
Code: Select all
struct {
unsigned int x : 1;
unsigned int y : 1;
} status;
best wishes
rudi

btw:
edit
Info who not know about bit fileds are here:
http://www.tutorialspoint.com/cprogramm ... fields.htm
Code: Select all
struct {
type [member_name] : width ;
};