wineconsole compile error

eric pouech eric.pouech at wanadoo.fr
Sat Nov 24 12:52:57 CST 2001


Gerard Patel wrote:
> 
> At 06:59 PM 24/11/2001 +0100, you wrote:
> 
> >make[1]: Entre dans le répertoire `/home/wine/programs/wineconsole'
> >gcc -c -I. -I. -I../../include -I../../include  -g -O2 -Wall
> -mpreferred-stack-boundary=2 -fPIC -DSTRICT -DUNICODE -D_REENTRANT
> -I/usr/X11R6/include -o
> >dialog.o dialog.c
> >dialog.c: In function `WCUSER_GetProperties':
> >dialog.c:492: structure has no member named `u'
> <snip>
> 
> Yes, me too.
> Does the patch posted on Wine-patches by Chris Green not fix
> it for you ?
No, it would break it for folks with gcc < 2.96... (like the one
who wrote the patch... hrm)

the proper fix would be to add -DNONAMELESSTRUCT to the
wineconsole Makefile.in (in EXTRADEFS)... 
could someone with gcc 3.0 try it ?

A+
-- 
---------------
Eric Pouech (http://perso.wanadoo.fr/eric.pouech/)
"The future will be better tomorrow", Vice President Dan Quayle




More information about the wine-devel mailing list