summaryrefslogtreecommitdiff
path: root/cpp
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
parentMinor Freeze evictor fixes (diff)
downloadice-407edded1b0ca856058a306768e8591451c5baea.tar.bz2
ice-407edded1b0ca856058a306768e8591451c5baea.tar.xz
ice-407edded1b0ca856058a306768e8591451c5baea.zip
flex fixes
Diffstat (limited to 'cpp')
-rw-r--r--cpp/demo/Freeze/library/Scanner.l6
-rw-r--r--cpp/demo/Freeze/phonebook/Scanner.l6
-rw-r--r--cpp/src/IcePack/Scanner.l6
-rw-r--r--cpp/src/IceStorm/Scanner.l6
-rw-r--r--cpp/src/Slice/Scanner.l6
-rw-r--r--cpp/test/Freeze/complex/Scanner.l6
6 files changed, 36 insertions, 0 deletions
diff --git a/cpp/demo/Freeze/library/Scanner.l b/cpp/demo/Freeze/library/Scanner.l
index 581208e1a6e..a63cc2bb733 100644
--- a/cpp/demo/Freeze/library/Scanner.l
+++ b/cpp/demo/Freeze/library/Scanner.l
@@ -18,6 +18,12 @@
#include <Parser.h>
#include <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;
diff --git a/cpp/demo/Freeze/phonebook/Scanner.l b/cpp/demo/Freeze/phonebook/Scanner.l
index 30295590e54..158bd36c831 100644
--- a/cpp/demo/Freeze/phonebook/Scanner.l
+++ b/cpp/demo/Freeze/phonebook/Scanner.l
@@ -18,6 +18,12 @@
#include <Parser.h>
#include <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;
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;
diff --git a/cpp/test/Freeze/complex/Scanner.l b/cpp/test/Freeze/complex/Scanner.l
index a630b4d6fcd..d5ceadea166 100644
--- a/cpp/test/Freeze/complex/Scanner.l
+++ b/cpp/test/Freeze/complex/Scanner.l
@@ -19,6 +19,12 @@
#include <Grammar.h>
#include <NodeI.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;