diff options
author | Kendall Bennett <[email protected]> | 1999-11-12 16:46:56 +0000 |
---|---|---|
committer | Kendall Bennett <[email protected]> | 1999-11-12 16:46:56 +0000 |
commit | be599f845f7acac94444ce74eff20296ed0a309f (patch) | |
tree | cd9c66eaf4b3180a9427b164d70a82e47fff3567 /src/mesa | |
parent | f945672623c947b19d196c32e76229baf0043943 (diff) |
. More Watcom C++ warnings fixed in Mesa.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/glapi/glapi.c | 4 | ||||
-rw-r--r-- | src/mesa/main/glheader.h | 8 |
2 files changed, 9 insertions, 3 deletions
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 <GL/gl.h> +/* Disable unreachable code warnings for Watcom C++ */ + +#ifdef __WATCOMC__ +#pragma disable_message(201) +#endif + #endif |