PATCH for Re: glXGetProcAddressARB causing dozens of warnings

Gerald Pfeifer pfeifer at dbai.tuwien.ac.at
Mon May 19 12:07:42 CDT 2003


On Sat, 10 May 2003, Raphaël Junqueira wrote:
> very easy :)

Sorry, but I'm afraid that solution wasn't the right one.

The patch below worked fine for me, though.  Alexandre?

Gerald


ChangeLog:
  #define GL_GLEXT_PROTOTYPES to obtain proper prototypes.

Index: make_opengl
===================================================================
RCS file: /home/wine/wine/dlls/opengl32/make_opengl,v
retrieving revision 1.16
diff -u -3 -p -r1.16 make_opengl
--- make_opengl	7 May 2003 03:18:51 -0000	1.16
+++ make_opengl	19 May 2003 17:05:36 -0000
@@ -564,6 +564,7 @@ open(NORM, ">" . $norm_file);
 print NORM "
 /* Auto-generated file... Do not edit ! */

+#define GL_GLEXT_PROTOTYPES
 #include \"config.h\"
 #include \"opengl_ext.h\"
 #include \"wine/debug.h\"
Index: opengl_norm.c
===================================================================
RCS file: /home/wine/wine/dlls/opengl32/opengl_norm.c,v
retrieving revision 1.7
diff -u -3 -p -r1.7 opengl_norm.c
--- opengl_norm.c	25 Sep 2002 00:29:57 -0000	1.7
+++ opengl_norm.c	19 May 2003 17:05:37 -0000
@@ -1,6 +1,7 @@

 /* Auto-generated file... Do not edit ! */

+#define GL_GLEXT_PROTOTYPES
 #include "config.h"
 #include "opengl_ext.h"
 #include "wine/debug.h"



More information about the wine-devel mailing list