On Friday 13 August 2004 13:55, Francois Gouget wrote:
- compiling the test with the Windows headers may result in different
sizes/alignments if the Wine headers got the packign wrong. If that's the case, the compiler will put in different values for sizeof(struct X) which will result in something like ok(4==8,"...");
Changing the compiler but keeping the same set of headers may also result in different sizes/alignments. This was the case some time ago when MinGW appeared to align structures containing a double to 8 bytes whereas gcc would align those to 4 bytes.
-Hans