Re: Q: void* vs. unsigned long

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 16 Feb 1999 12:46:47 +0000 (GMT)


> > - The rank of long long int shall be greater than the
> > rank of long int, which shall be greater than the rank
> > of int, which shall be greater than the rank of short
> > int, which shall be greater than the rank of signed
> > char.
>
> Interesting, so this tells that:
>
> rank(long long int) > rank(long int) > rank(int) > rank(short int) > rank(char)
>
> While following was the previous definition:
>
> rank(long long int) >= rank(long int) >= rank(int) >= rank(short int) >= rank(char)

If that definition has been changed the C9X committee are broken. On X86
for example short=long in size. Anyone who expects all the compilers to
change their object sizes is to say the least misguided

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/