Add ATTRIBUTE_PACKED to ansidecl.h

Ian Lance Taylor iant@google.com
Wed Dec 6 18:47:00 GMT 2006


Nick Clifton <nickc@redhat.com> writes:

>   Does anyone know when the packed attribute was actually introduced
>   into gcc ?  I have not put a version number check into the patch
>   because as far as I could tell it came in when support for
>   __attribute__ was added.

Yes.  __attribute__ ((packed)) was added in gcc 2.7, which is also
when __attribute__ was added.

Ian



More information about the Gdb-patches mailing list