Followup to:  <[EMAIL PROTECTED]>
By author:    Russell King - ARM Linux Admin <[EMAIL PROTECTED]>
In newsgroup: linux.dev.arm
>
> Chris Rutter writes:
> > I thought it possible that there are widespread portability assumptions
> > made in the Linux kernel that made that irrelevant.  I wasn't making a
> > value judgement.
> 
> The assumptions are that:
> 
>   __u8, __u16, __u32 are all unsigned quantities of the indicated size.
>   __s8, __s16, __s32 are all signed quantities of the indicated size.
> 
>   sizeof(unsigned long) >= sizeof(unsigned int) (standard ANSI)
>   sizeof(unsigned int) >= sizeof(unsigned short) (standard ANSI)
>   sizeof(unsigned short) >= sizeof(unsigned char) (standard ANSI)
> 

There is also an assuption that uintptr_t is unsigned long.  This is
not standard.

        -hpa
-- 
<[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt

unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++        Please use [EMAIL PROTECTED] for           ++
++                        kernel-related discussions.                      ++

Reply via email to