Does BoostC compiler support Bit Fields?

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
Rudi
Posts: 666
Joined: Mon Feb 10, 2014 4:59 am
Has thanked: 493 times
Been thanked: 187 times

Does BoostC compiler support Bit Fields?

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

Rudi
Posts: 666
Joined: Mon Feb 10, 2014 4:59 am
Has thanked: 493 times
Been thanked: 187 times

Re: Does BoostC compiler support Bit Fields?

Post 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 ;-)

Post Reply