http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45317
--- Comment #2 from Gianluigi Tiesi sherpya at netfarm dot it 2012-11-15
00:13:28 UTC ---
so mingw 4.7.0 has same packing behavior of linux gcc, why in _mingw_ =
4.7.0 should I add -malign-double to be compatible with mingw 4.7.0 and msvc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45317
--- Comment #3 from Gianluigi Tiesi sherpya at netfarm dot it 2012-11-15
00:21:58 UTC ---
I've also tested with -malign-double and nothing changes, I don't need mingw32
abi on linux, I need mingw abi on mingw, somehow changed with 4.7.0,
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45317
--- Comment #4 from Gianluigi Tiesi sherpya at netfarm dot it 2012-11-15
00:36:10 UTC ---
sorry my comment are for another bug, please ignore them
--- Comment #1 from schwab at linux-m68k dot org 2010-08-18 08:19 ---
That's how it is defined by the respective ABIs. On i386-linux a struct field
has at most 32-bit alignment. Add explicit padding or compile with
-malign-double if you want to be compatible to the mingw32 ABI, but