From: Kendall Bennett Date: Fri, 12 Nov 1999 16:46:56 +0000 (+0000) Subject: . More Watcom C++ warnings fixed in Mesa. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=be599f845f7acac94444ce74eff20296ed0a309f;p=mesa.git . More Watcom C++ warnings fixed in Mesa. --- diff --git a/src/mesa/glapi/glapi.c b/src/mesa/glapi/glapi.c index 73fc30443eb..89d47d8e9fe 100644 --- a/src/mesa/glapi/glapi.c +++ b/src/mesa/glapi/glapi.c @@ -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)(); } diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h index f4930cb01fe..ea1a6b985f3 100644 --- a/src/mesa/main/glheader.h +++ b/src/mesa/main/glheader.h @@ -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 @@ -61,5 +61,11 @@ #include +/* Disable unreachable code warnings for Watcom C++ */ + +#ifdef __WATCOMC__ +#pragma disable_message(201) +#endif + #endif