dlls/d3d8/device.c fails to compile

fenix at club-internet.fr fenix at club-internet.fr
Fri Jun 6 12:42:31 CDT 2003


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 :(


----Message d'origine----
>Date: Fri, 6 Jun 2003 11:08:01 +0200 (CEST)
>De: Gerald Pfeifer <pfeifer at dbai.tuwien.ac.at>
>A: wine-devel at winehq.com
>Copie à: Raphael Junqueira <fenix at club-internet.fr>
>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
>That's using XFree86-4.3.0 and Mesa-3.4.2 (on FreeBSD 4.8).
>PS: I'll happily test any patches to fix this.
>Gerald "Jerry"   pfeifer at dbai.tuwien.ac.at   http://www.pfeifer.com/gerald/

More information about the wine-devel mailing list