MinGW --mno-align-double

Dimitrie O. Paun dpaun at rogers.com
Thu Apr 22 06:39:15 CDT 2004


=======
From: Hans Leidekker <hans at it.vu.nl>
To: wine-devel at winehq.com <wine-devel at winehq.com>

On Saturday 27 March 2004 02:20, Dmitry Timoshkov wrote:

> generated.c:542: Test failed: TYPE_ALIGNMENT(*(LPWIN32_STREAM_ID)0) == 8
> (expected 4) generated: 842 tests executed, 0 marked as todo, 1 failure.
> * NOTE: the same test compiled by cl.exe (MS compiler) works as expected,
> * so that's most likely a gcc bug. (gcc version 3.3.1 (cygming special))

Same here (GCC 3.2.3 (mingw special 20030504-1)). It appears 
that this compiler defaults to --malign-double. When I
specify --mno-align-double the test succeeds.
=======

Alexandre, can we add this flag to our makefiles? If so,
I can produce a patch...

-- 
Dimi.




More information about the wine-devel mailing list