http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48547
--- Comment #16 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2011-04-11 05:46:07 UTC --- > I don't know of compiler-specific ways of doing structure > packing using pragmas or whatever. I am learning though. Use GCC __attribute__((packed)) or #pragma pack (which is also supported by MSVC). They are described in the GCC documentation.
