summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2003-09-14 16:05:00 +0000
committerMarc Laukien <marc@zeroc.com>2003-09-14 16:05:00 +0000
commit407edded1b0ca856058a306768e8591451c5baea (patch)
tree98a869395dc8d92b13280165158ecdb90a44b56e /cpp/src
parentMinor Freeze evictor fixes (diff)
downloadice-407edded1b0ca856058a306768e8591451c5baea.tar.bz2
ice-407edded1b0ca856058a306768e8591451c5baea.tar.xz
ice-407edded1b0ca856058a306768e8591451c5baea.zip
flex fixes
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/IcePack/Scanner.l6
-rw-r--r--cpp/src/IceStorm/Scanner.l6
-rw-r--r--cpp/src/Slice/Scanner.l6
3 files changed, 18 insertions, 0 deletions
diff --git a/cpp/src/IcePack/Scanner.l b/cpp/src/IcePack/Scanner.l
index ab945b09369..949a9725a20 100644
--- a/cpp/src/IcePack/Scanner.l
+++ b/cpp/src/IcePack/Scanner.l
@@ -18,6 +18,12 @@
#include <IcePack/Parser.h>
#include <IcePack/Grammar.h>
+#ifdef _WIN32
+// I get these warnings from some flex versions:
+// warning C4003: not enough actual parameters for macro 'yywrap'
+# pragma warning( disable : 4003 )
+#endif
+
using namespace std;
using namespace Ice;
using namespace IcePack;
diff --git a/cpp/src/IceStorm/Scanner.l b/cpp/src/IceStorm/Scanner.l
index caac4678403..46b03412471 100644
--- a/cpp/src/IceStorm/Scanner.l
+++ b/cpp/src/IceStorm/Scanner.l
@@ -18,6 +18,12 @@
#include <IceStorm/Parser.h>
#include <IceStorm/Grammar.h>
+#ifdef _WIN32
+// I get these warnings from some flex versions:
+// warning C4003: not enough actual parameters for macro 'yywrap'
+# pragma warning( disable : 4003 )
+#endif
+
using namespace std;
using namespace Ice;
using namespace IceStorm;
diff --git a/cpp/src/Slice/Scanner.l b/cpp/src/Slice/Scanner.l
index aecae7775f9..2a0be3d8c5f 100644
--- a/cpp/src/Slice/Scanner.l
+++ b/cpp/src/Slice/Scanner.l
@@ -21,6 +21,12 @@
#include <stdlib.h>
#include <math.h>
+#ifdef _WIN32
+// I get these warnings from some flex versions:
+// warning C4003: not enough actual parameters for macro 'yywrap'
+# pragma warning( disable : 4003 )
+#endif
+
using namespace std;
using namespace Slice;