Page 1 of 1

Does BoostC compiler support Bit Fields?

Posted: Mon Mar 28, 2016 2:31 pm
by Rudi
Hi

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;

Have we perhabs a solution?

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 ;
};

Re: Does BoostC compiler support Bit Fields?

Posted: Mon Mar 28, 2016 5:42 pm
by Rudi
perhabs can answere myself now after searching and reading more in posts outside here:
think no..
.. means that bitfields won't be supported in any near future in boostc.
right?

i am so sorry about that's to read.

info:
http://forum.sourceboost.com/index.php?showtopic=4684

so i understand, why you guys can't support midi usb in PIC18F2550 by this compiler.
i will try for me a solution for this next times and try to support the free student XC8 in FC.
know, you working on hitechC - hope we will we get this 'future' in FC6.

"es ist sehr schade"
( i never use the google translater for this word "schade", allways translater translate this wrong to "Schande" )


best wishes
rudi ;-)