Compiling warnings in d3d8_private.h
Marcelo Duarte
wine-devel at bol.com.br
Sun Jul 13 23:44:18 CDT 2003
I found various warnings while compiling and for me, the cause is the patch:
ChangeSet ID: 8427
CVSROOT: /home/winehq/opt/cvs-commit
Module name: wine
Changes by: julliard at wine.codeweavers.com 2003/06/06 13:12:59
Modified files:
dlls/d3d8 : utils.c directx.c device.c d3dcore_gl.h
d3d8_private.h
Log message:
Raphael Junqueira <fenix at club-internet.fr>
Fixed compilation problems.
Patch: http://cvs.winehq.com/patch.py?root=/home/winehq/opt/cvs-commit&id=8427
Old revision New revision Changes Path
1.4 1.5 +23 -28 wine/dlls/d3d8/utils.c
1.42 1.43 +18 -3 wine/dlls/d3d8/directx.c
1.69 1.70 +2 -4 wine/dlls/d3d8/device.c
1.1 1.2 +141 -23 wine/dlls/d3d8/d3dcore_gl.h
1.34 1.35 +3 -1 wine/dlls/d3d8/d3d8_private.h
See the warnings:
make[2]: Entering directory `/home/mduarte/wine/dlls/d3d8'
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include
-D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+
-Wpointer-arith -g -O2 -o basetexture.o basetexture.c
In file included from d3d8_private.h:192,
from basetexture.c:29:
d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from basetexture.c:29:
/usr/include/GL/glext.h:462:1: warning: this is the location of the previous
definition
In file included from d3d8_private.h:192,
from basetexture.c:29:
d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from basetexture.c:29:
/usr/include/GL/glext.h:464:1: warning: this is the location of the previous
definition
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include
-D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+
-Wpointer-arith -g -O2 -o cubetexture.o cubetexture.c
In file included from d3d8_private.h:192,
from cubetexture.c:29:
d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from cubetexture.c:29:
/usr/include/GL/glext.h:462:1: warning: this is the location of the previous
definition
In file included from d3d8_private.h:192,
from cubetexture.c:29:
d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from cubetexture.c:29:
/usr/include/GL/glext.h:464:1: warning: this is the location of the previous
definition
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include
-D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+
-Wpointer-arith -g -O2 -o d3d8_main.o d3d8_main.c
In file included from d3d8_private.h:192,
from d3d8_main.c:28:
d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from d3d8_main.c:28:
/usr/include/GL/glext.h:462:1: warning: this is the location of the previous
definition
In file included from d3d8_private.h:192,
from d3d8_main.c:28:
d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from d3d8_main.c:28:
/usr/include/GL/glext.h:464:1: warning: this is the location of the previous
definition
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include
-D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+
-Wpointer-arith -g -O2 -o device.o device.c
In file included from d3d8_private.h:192,
from device.c:36:
d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from device.c:36:
/usr/include/GL/glext.h:462:1: warning: this is the location of the previous
definition
In file included from d3d8_private.h:192,
from device.c:36:
d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from device.c:36:
/usr/include/GL/glext.h:464:1: warning: this is the location of the previous
definition
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include
-D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+
-Wpointer-arith -g -O2 -o directx.o directx.c
In file included from d3d8_private.h:192,
from directx.c:32:
d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from directx.c:32:
/usr/include/GL/glext.h:462:1: warning: this is the location of the previous
definition
In file included from d3d8_private.h:192,
from directx.c:32:
d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from directx.c:32:
/usr/include/GL/glext.h:464:1: warning: this is the location of the previous
definition
directx.c: In function `IDirect3D8Impl_FillGLCaps':
directx.c:779: warning: implicit declaration of function
`glXGetProcAddressARB'
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include
-D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+
-Wpointer-arith -g -O2 -o drawprim.o drawprim.c
In file included from d3d8_private.h:192,
from drawprim.c:34:
d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from drawprim.c:34:
/usr/include/GL/glext.h:462:1: warning: this is the location of the previous
definition
In file included from d3d8_private.h:192,
from drawprim.c:34:
d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from drawprim.c:34:
/usr/include/GL/glext.h:464:1: warning: this is the location of the previous
definition
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include
-D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+
-Wpointer-arith -g -O2 -o indexbuffer.o indexbuffer.c
In file included from d3d8_private.h:192,
from indexbuffer.c:29:
d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from indexbuffer.c:29:
/usr/include/GL/glext.h:462:1: warning: this is the location of the previous
definition
In file included from d3d8_private.h:192,
from indexbuffer.c:29:
d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from indexbuffer.c:29:
/usr/include/GL/glext.h:464:1: warning: this is the location of the previous
definition
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include
-D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+
-Wpointer-arith -g -O2 -o resource.o resource.c
In file included from d3d8_private.h:192,
from resource.c:29:
d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from resource.c:29:
/usr/include/GL/glext.h:462:1: warning: this is the location of the previous
definition
In file included from d3d8_private.h:192,
from resource.c:29:
d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from resource.c:29:
/usr/include/GL/glext.h:464:1: warning: this is the location of the previous
definition
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include
-D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+
-Wpointer-arith -g -O2 -o shader.o shader.c
In file included from d3d8_private.h:192,
from shader.c:31:
d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from shader.c:31:
/usr/include/GL/glext.h:462:1: warning: this is the location of the previous
definition
In file included from d3d8_private.h:192,
from shader.c:31:
d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from shader.c:31:
/usr/include/GL/glext.h:464:1: warning: this is the location of the previous
definition
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include
-D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+
-Wpointer-arith -g -O2 -o stateblock.o stateblock.c
In file included from d3d8_private.h:192,
from stateblock.c:31:
d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from stateblock.c:31:
/usr/include/GL/glext.h:462:1: warning: this is the location of the previous
definition
In file included from d3d8_private.h:192,
from stateblock.c:31:
d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from stateblock.c:31:
/usr/include/GL/glext.h:464:1: warning: this is the location of the previous
definition
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include
-D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+
-Wpointer-arith -g -O2 -o surface.o surface.c
In file included from d3d8_private.h:192,
from surface.c:33:
d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from surface.c:33:
/usr/include/GL/glext.h:462:1: warning: this is the location of the previous
definition
In file included from d3d8_private.h:192,
from surface.c:33:
d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from surface.c:33:
/usr/include/GL/glext.h:464:1: warning: this is the location of the previous
definition
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include
-D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+
-Wpointer-arith -g -O2 -o swapchain.o swapchain.c
In file included from d3d8_private.h:192,
from swapchain.c:29:
d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from swapchain.c:29:
/usr/include/GL/glext.h:462:1: warning: this is the location of the previous
definition
In file included from d3d8_private.h:192,
from swapchain.c:29:
d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from swapchain.c:29:
/usr/include/GL/glext.h:464:1: warning: this is the location of the previous
definition
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include
-D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+
-Wpointer-arith -g -O2 -o texture.o texture.c
In file included from d3d8_private.h:192,
from texture.c:29:
d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from texture.c:29:
/usr/include/GL/glext.h:462:1: warning: this is the location of the previous
definition
In file included from d3d8_private.h:192,
from texture.c:29:
d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from texture.c:29:
/usr/include/GL/glext.h:464:1: warning: this is the location of the previous
definition
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include
-D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+
-Wpointer-arith -g -O2 -o utils.o utils.c
In file included from d3d8_private.h:192,
from utils.c:34:
d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from utils.c:34:
/usr/include/GL/glext.h:462:1: warning: this is the location of the previous
definition
In file included from d3d8_private.h:192,
from utils.c:34:
d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from utils.c:34:
/usr/include/GL/glext.h:464:1: warning: this is the location of the previous
definition
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include
-D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+
-Wpointer-arith -g -O2 -o vertexbuffer.o vertexbuffer.c
In file included from d3d8_private.h:192,
from vertexbuffer.c:29:
d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from vertexbuffer.c:29:
/usr/include/GL/glext.h:462:1: warning: this is the location of the previous
definition
In file included from d3d8_private.h:192,
from vertexbuffer.c:29:
d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from vertexbuffer.c:29:
/usr/include/GL/glext.h:464:1: warning: this is the location of the previous
definition
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include
-D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+
-Wpointer-arith -g -O2 -o volume.o volume.c
In file included from d3d8_private.h:192,
from volume.c:32:
d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from volume.c:32:
/usr/include/GL/glext.h:462:1: warning: this is the location of the previous
definition
In file included from d3d8_private.h:192,
from volume.c:32:
d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from volume.c:32:
/usr/include/GL/glext.h:464:1: warning: this is the location of the previous
definition
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include
-D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+
-Wpointer-arith -g -O2 -o volumetexture.o volumetexture.c
In file included from d3d8_private.h:192,
from volumetexture.c:29:
d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from volumetexture.c:29:
/usr/include/GL/glext.h:462:1: warning: this is the location of the previous
definition
In file included from d3d8_private.h:192,
from volumetexture.c:29:
d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from volumetexture.c:29:
/usr/include/GL/glext.h:464:1: warning: this is the location of the previous
definition
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include
-D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+
-Wpointer-arith -g -O2 -o vshaderdeclaration.o vshaderdeclaration.c
In file included from d3d8_private.h:192,
from vshaderdeclaration.c:31:
d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from vshaderdeclaration.c:31:
/usr/include/GL/glext.h:462:1: warning: this is the location of the previous
definition
In file included from d3d8_private.h:192,
from vshaderdeclaration.c:31:
d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined
In file included from /usr/include/GL/gl.h:2436,
from d3d8_private.h:30,
from vshaderdeclaration.c:31:
/usr/include/GL/glext.h:464:1: warning: this is the location of the previous
definition
Thank you.
--
Marcelo Duarte
More information about the wine-devel
mailing list