"Maxime" == Maxime Bellengé maxime.bellenge@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