[patch] WORDSIZE dependant printf length modifiers

Rob Landley rob at landley.net
Sat Apr 8 02:16:03 UTC 2006


On Friday 07 April 2006 8:22 pm, Rich Felker wrote:
> On Fri, Apr 07, 2006 at 06:41:21PM -0500, Rob Landley wrote:
> > (Having seen gcc attempt to do a 64 bit division on a 32 bit platform,
> > I'm really not looking forward to what it thinks is the correct way to
> > handle packed boolean values.)
>
> Who said anything about packed? I've never seen any indication that
> bool can be a 1-bit value in ISO C. IMO like any other object type it
> must be addressible and must be an integral number of bytes (even if
> all but one of the bits are "padding bits" according to C).

So it's an int that just doesn't think it's an int.  So why not just use an 
int?  (They had java envy?)

> Rich

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list