propset.c: In function `DSPROPERTY_EnumerateW

Peter Birch plbirch at earthlink.net
Thu Aug 7 14:03:19 CDT 2003


Ah, thank you and also thanks for the explanation.  I work in C++ so 
much that I forgot that you can't create variables just anyware with 
older C compilers.

Duane Clark wrote:

> Peter Birch wrote:
>
>> The latest cvs code (08/06/2003 20:45:00 pst) will not compile - I 
>> get the following error:
>>
>> gcc -c -I. -I. -I../../include -I../../include  -D_REENTRANT -fPIC 
>> -D__WINESRC__  -Wall -mpreferred-stack-boundary=2 
>> -fno-strict-aliasing -gstabs+ -Wpointer-arith  -g -O2 -o propset.o 
>> propset.c
>> propset.c: In function `DSPROPERTY_EnumerateW':
>> propset.c:522: parse error before `*'
>> propset.c:526: `wDescription' undeclared (first use in this function)
>> propset.c:526: (Each undeclared identifier is reported only once
>> propset.c:526: for each function it appears in.)
>> propset.c:527: `wModule' undeclared (first use in this function)
>> propset.c:528: `wInterface' undeclared (first use in this function)
>> propset.c:550: parse error before `*'
>>
>>
>> This is on Linux kernel 2.4.20 (i586), GCC 2.95.4
>> with the configure line: ./configure --prefix=/usr --sysconfdir=/etc 
>> --with-opengl --with-x
>>
>> This used to work, and the error amazes me because the exact same 
>> code appears in the source file several times before the error.
>
>
> This patch will fix it.
> http://www.winehq.com/hypermail/wine-patches/2003/08/0050.html
>
>
>
>
>




More information about the wine-devel mailing list