From 7206365b7c4d388669b51f51967e81c58c3d4aec Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Mon, 5 May 2003 20:05:45 +0000 Subject: Fixed VC++7 warning --- cpp/src/icecpp/cexp.y | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cpp/src') diff --git a/cpp/src/icecpp/cexp.y b/cpp/src/icecpp/cexp.y index 5269c5bae7e..ca4de3d6359 100644 --- a/cpp/src/icecpp/cexp.y +++ b/cpp/src/icecpp/cexp.y @@ -109,6 +109,12 @@ struct arglist { #define HOST_BITS_PER_WIDE_INT (CHAR_BIT * sizeof (HOST_WIDE_INT)) #endif +#ifdef _WIN32 +// I get these warnings from some bison versions: +// warning C4102: 'yyoverflowlab' : unreferenced label +# pragma warning( disable : 4102 ) +#endif + #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7) # define __attribute__(x) #endif -- cgit v1.2.3