wineconsole compile error

Andreas Mohr andi at
Sat Nov 24 11:59:27 CST 2001

Hi all,

people get

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'
dialog.c:496: structure has no member named `u'
dialog.c:500: structure has no member named `u'
dialog.c:509: structure has no member named `u3'

This is happening on gcc 3.0.2 (nameless union support, I suppose).

On my system, this file compiles painlessly:
root at andi:/root# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20010902 (Debian prerelease)

(no nameless union support, I suppose)

I told this guy to replace .u. and .u3. in dialog.c with
This caused:
dialog.c:492: parse error before `.'
dialog.c:496: parse error before `.'
dialog.c:500: parse error before `.'
dialog.c:509: parse error before `.'

I thought that this particular error was caused by a missing
#include "winnt.h", but adding this didn't help either.

Please fix this "mess" ASAP (in an appropriate way, one that I seem to not
be able to find out :-\).

Thank you !

Andreas Mohr                        Stauferstr. 6, D-71272 Renningen, Germany
"Point is, nothing here is unfamiliar or unexpected.  How long does
it take before there's general recognition that Microsoft software
has no business on the Internet? - Dennis E. Powell re: Code Red

More information about the wine-devel mailing list