Alignment testing
Alexandre Julliard
julliard at winehq.org
Mon Apr 26 17:23:57 CDT 2004
Hans Leidekker <hans at it.vu.nl> writes:
> Clearly GCC is the odd one out. When a double is embedded in
> a structure GCC does not adjust the alignment of the structure
> to the size of a double.
>
> So, should we add -malign-double to the compiler flags?
No, that would break Unix compatibility. We have to explicitly pad the
structures that need it.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list