Re: #Pragma pack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jeremy,

> Does anyone know what would be the correct syntax in GCC would be for
> #pragma pack(push, enter_pack_state)? Thanks a bunch.

http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Structure_002dPacking-Pragmas.ht
ml

I'm not sure if that syntax is supported on all platforms, or if it is just
on Windows for MSVC compatibility.

More often, the __attribute__((packed)) is suggested.

HTH,
--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux