Fix compilation of the wininet generated tests

Francois Gouget fgouget at free.fr
Fri Aug 13 20:21:12 CDT 2004


On Fri, 13 Aug 2004, Hans Leidekker wrote:

> 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.

Our headers are supposed to compensate for that. If that's not the case
then one of the compilers will produce code that is not binary
compatible with Windows applications. I.e. Wine will be unusable.


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                     Linux: the choice of a GNU generation



More information about the wine-devel mailing list