. More Watcom C++ warnings fixed in Mesa.
authorKendall Bennett <KendallB@scitechsoft.com>
Fri, 12 Nov 1999 16:46:56 +0000 (16:46 +0000)
committerKendall Bennett <KendallB@scitechsoft.com>
Fri, 12 Nov 1999 16:46:56 +0000 (16:46 +0000)
src/mesa/glapi/glapi.c
src/mesa/main/glheader.h

index 73fc304..89d47d8 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: glapi.c,v 1.4 1999/11/12 00:06:07 brianp Exp $ */
+/* $Id: glapi.c,v 1.5 1999/11/12 16:46:56 kendallb Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -2453,7 +2453,7 @@ void GLAPIENTRY glWindowPos4dvMESA(const GLdouble *p)
 
 
 #ifdef _GLAPI_MESA_resize_buffers
-GLAPI void GLAPIENTRY glResizeBuffersMESA(void)
+void GLAPIENTRY glResizeBuffersMESA(void)
 {
    DISPATCH(ResizeBuffersMESA)();
 }
index f4930cb..ea1a6b9 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: glheader.h,v 1.1 1999/11/11 01:22:26 brianp Exp $ */
+/* $Id: glheader.h,v 1.2 1999/11/12 16:46:56 kendallb Exp $ */
 
 /*
  * Mesa 3-D graphics library
 
 #include <GL/gl.h>
 
+/* Disable unreachable code warnings for Watcom C++ */
+
+#ifdef __WATCOMC__
+#pragma disable_message(201)
+#endif
+
 
 #endif