pragma pack() in arm-elf-gcc 3.2.1

Ian Lance Taylor ian@airs.com
Tue Aug 26 16:49:00 GMT 2003


Eljay Love-Jensen <eljay@adobe.com> writes:

> No "#pragma pack" nor "#pragma GCC pack" in GCC 3.2.

That is not correct.  gcc does support #pragma pack for a number of
targets, for compatibility with other compilers.

It's not properly documented, but look for HANDLE_SYSV_PRAGMA on this
page of the internals manual:
    http://gcc.gnu.org/onlinedocs/gccint/Misc.html#Misc

Ian



More information about the Gcc-help mailing list