On Fri, Feb 10, 2006 at 04:56:20PM +0100, Nicolas DICHTEL wrote:
> Hi all,
>
> here is the result on ARM of my little program:
>
> [EMAIL PROTECTED]:/usr/admin# ./test2
> 4 5 6 8
> 2 3 4 6
>
>
> Is it normal to add an attribute __packed__ on each union{}
> contained in a structure, or is it a b
Nicolas DICHTEL writes:
> Hi all,
>
> here is the result on ARM of my little program:
>
> [EMAIL PROTECTED]:/usr/admin# ./test2
> 4 5 6 8
> 2 3 4 6
>
>
> Is it normal to add an attribute __packed__ on each union{}
> contained in a structure, or is it a bug of my compiler ?
> On X86,
Hi all,
here is the result on ARM of my little program:
[EMAIL PROTECTED]:/usr/admin# ./test2
4 5 6 8
2 3 4 6
Is it normal to add an attribute __packed__ on each union{}
contained in a structure, or is it a bug of my compiler ?
On X86, this kind of structure has always the good size.
Regards