summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2003-05-05 20:05:45 +0000
committerBernard Normier <bernard@zeroc.com>2003-05-05 20:05:45 +0000
commit7206365b7c4d388669b51f51967e81c58c3d4aec (patch)
treec412368c310e8933b177a70a16fe7527f2caf2b9 /cpp/src
parentmerge with e3_2003 (diff)
downloadice-7206365b7c4d388669b51f51967e81c58c3d4aec.tar.bz2
ice-7206365b7c4d388669b51f51967e81c58c3d4aec.tar.xz
ice-7206365b7c4d388669b51f51967e81c58c3d4aec.zip
Fixed VC++7 warning
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/icecpp/cexp.y6
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