wine/ole error on Mingw32/MSYS

Dimitrie O. Paun dpaun at rogers.com
Fri Jan 10 17:38:02 CST 2003


On January 10, 2003 07:53 pm, Steven Edwards wrote:
> $ make
> gcc -c -I. -I. -I../include -I../include  -DWINE_NOWINSOCK -Wall
> -mpreferred-sta ck-boundary=2 -gstabs+  -D__WINESRC__ -D_REENTRANT -o
> dx8guid.o dx8guid.c In file included from dx8guid.c:26:
> ../include/winuser.h:2396: unnamed fields of type other than struct or
> union are not allowed
> ../include/winuser.h:2409: unnamed fields of type other than struct or
> union are not allowed
> make: *** [dx8guid.o] Error 1

Yes,
Try adding:

#define NONAMELESSUNION
#define NONAMELESSSTRUCT

Before the windows includes in files where you get this error.
Look in dlls/comctl32/comctl32undoc.c for an example.

-- 
Dimi.




More information about the wine-devel mailing list