[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Reviewing http://wiki.debian.org/ArchitectureSpecificsMemo



On Sat, 2008-04-26 at 20:21 +0200, Bernd Eckenfels wrote:
> In article <[🔎] 1209229699.4606.5.camel@deadeye.i.decadent.org.uk> you wrote:
> >>    sizeof(char) == 1
> 
> > I just removed them for this reason.
> 
> Maybe we need to specify CHAR_BITS instead?

Maybe some day Debian will run on an architecture where CHAR_BITS != 8,
but I doubt it; too much software depends on having exactly-8-bit types.
Until then, why bother?  (Similarly there's little point in including
sizeof(short) and sizeof(int); they don't vary between our current
architectures and are very unlikely to do so in future.)

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: