oleaut32 patch

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Sat Apr 26 10:56:31 CDT 2003


>>>>> "Maxime" == Maxime Bellengé <maxime.bellenge at laposte.net> writes:

    Maxime> Hi, I have problems with this patch, gcc complains about :

    Maxime> gcc -c -I. -I. -I../../include -I../../include -D_REENTRANT
    Maxime> -fPIC -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -Wall
    Maxime> -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o
    Maxime> usrmarshal.o usrmarshal.c usrmarshal.c: In function
    Maxime> `VARIANT_UserMarshal': usrmarshal.c:240: structure has no member
    Maxime> named `u' usrmarshal.c:251: structure has no member named `u'
    Maxime> usrmarshal.c:253: structure has no member named `u'
    Maxime> usrmarshal.c: In function `VARIANT_UserUnmarshal':
    Maxime> usrmarshal.c:294: structure has no member named `u'
    Maxime> usrmarshal.c:298: structure has no member named `u'
    Maxime> usrmarshal.c:309: structure has no member named `u'
    Maxime> usrmarshal.c:312: structure has no member named `u'

It's the same -DNONAMELESSUNION issue discussed the end of 2002. Perhaps
rewind and wine differ in this way.

Adding -DNONAMELESSUNION to the gcc command line above made it compile.

Bye
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------




More information about the wine-devel mailing list