On Mon, 13 Sep 2010 13:36:45 -0500 Timur Tabi <timur.t...@gmail.com> wrote:
> On Mon, Sep 13, 2010 at 11:45 AM, Artem Bityutskiy <dedeki...@gmail.com> > wrote: > > Unsigned int is reliably >= 4 in Linux. > > Not exactly. sizeof(unsigned int) is effectively never greater than 4 > in Linux (I think it's still 32 bits even on a 64-bit kernel), so it > makes no sense to say >=. I think the point is that if a machine/ABI comes along with sizeof(int) > 4 (e.g. if there's a significant penalty for working with anything < 64-bit), Linux might consider supporting that. Whereas if someone points to their microcontroller or ancient 286 with sizeof(int) == 2, the answer would be, "Here's a nickel, kid -- get a real computer". -Scott _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev