On Wed, Mar 22, 2006 at 07:10:01PM +0100, Joerg Schilling wrote: >"Adam D. Barratt" <[EMAIL PROTECTED]> wrote: > >> > From the viewpoint of C, there is no macro but just superfluous text. >> >> No, there's a macro. Specifically defined by >> >> #ifndef __GNUC__ >> #define __attribute__(X) >> #endif > >OOps, it seems I did oversee this. > >Then it may make sense to think about integrating....
Great! Should I expect an apology? >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... -- Steve McIntyre, Cambridge, UK. [EMAIL PROTECTED] "You can't barbecue lettuce!" -- Ellie Crane -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]