From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom To: 9fans@cse.psu.edu, Charles Forsyth References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 In-Reply-To: Subject: Re: [9fans] structure allocation. Message-Id: <20060307115447.8D6D91188F@dexter-peak.quanstro.net> Date: Tue, 7 Mar 2006 05:54:47 -0600 Cc: Topicbox-Message-UUID: 0d8464e4-ead1-11e9-9d60-3106f5b1d025 thanks to all for the information. i was suprised that the plan9 c compiler supports bit fields. - erik Charles Forsyth 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)