Steve McIntyre <[EMAIL PROTECTED]> wrote:

> >But I would prefer to use standard C constructs:
> >
> >#pragma pack(1)
>
> Unfortunately, #pragma pack(1) doesn't fix the problem - I've just
> tested it on an arm machine here. __attribute__(packed) _does_ fix the
> problem. See http://lists.debian.org/debian-gcc/2001/04/msg00102.html
> for more details...

Sorry this is 5 years old now!

Even gcc has become closer to the C-standard now......

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily

Reply via email to