On 7/11/2013 06:28, JonY wrote: > On 7/11/2013 06:12, Christian Franke wrote: >> >> If #pragma pack(1) is used instead, it works as expected also with >> i686-w64-mingw32-gcc 4.7.3. >> >> (Upstream?) bug ? >> > > Likely, there are no cygwin specific patches applied for it, please > check with gcc-help. >
OK, found the issue, try using -mno-ms-bitfields. I am not sure if this workaround is proper. It may break things if you use win32 API and their structs, so please contact gcc upstream to confirm this.
signature.asc
Description: OpenPGP digital signature

