diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/icecpp/cexp.y | 6 |
1 files changed, 6 insertions, 0 deletions
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 |