Hi, Stefan Leichter have already sent a patch (wine-patches archive) to fix it.
Thanks to him. But now i want to understand why my gcc3 in c89 mode compil this code without any problem :( Regards, Raphael ----Message d'origine---- >Date: Fri, 6 Jun 2003 11:08:01 +0200 (CEST) >De: Gerald Pfeifer <[EMAIL PROTECTED]> >A: [EMAIL PROTECTED] >Copie �: Raphael Junqueira <[EMAIL PROTECTED]> >Sujet: dlls/d3d8/device.c fails to compile > >After the recent wave of commits, I'm getting a build failure for the >following line in dlls/d3d8/device.c: > > IDirect3DBaseTexture8* cont = NULL; > >The failure looks as follows > > device.c:1989: syntax error before `*' > device.c:1991: `hr' undeclared (first use in this function) > device.c:1991: (Each undeclared identifier is reported only once > device.c:1991: for each function it appears in.) > device.c:1991: `cont' undeclared (first use in this function) > gmake[2]: *** [device.o] Error 1 > gmake[2]: Leaving directory `/.amd_mnt/nashira/files5/test/wine/dlls/d3d8' > gmake[1]: *** [d3d8] Error 2 > gmake[1]: Leaving directory `/.amd_mnt/nashira/files5/test/wine/dlls' > gmake: *** [dlls] Error 2 > >which indicates that IDirect3DBaseTexture8 is not a known type at that >point. > >That's using XFree86-4.3.0 and Mesa-3.4.2 (on FreeBSD 4.8). > >Gerald > >PS: I'll happily test any patches to fix this. >-- >Gerald "Jerry" [EMAIL PROTECTED] http://www.pfeifer.com/gerald/ > >
