thanks to all for the information.

i was suprised that the plan9 c compiler supports bit fields.

- erik

Charles Forsyth <[EMAIL PROTECTED]> writes

| 
| > the trouble is these structures go on forever and have many
| > bitfields. (in one i count 46 fields, all integers of random width,
| > randomly intermixed.)
| 
| they shouldn't rely on bitfields.  in particular, the language does
| not guarantee which order they are assigned to bits in a larger
| unit (ie, left to right or right to left).
| 
| the nice thing is that in the plan 9 environment, you get to
| fix such mistakes and do much better (although it's always
| tedious to discover that late in the day)

Reply via email to