aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-04-25 18:26:54 +0000
committerBill Meier <wmeier@newsguy.com>2008-04-25 18:26:54 +0000
commit2bce8b248c38b83e0fd711b821efcd90d0147230 (patch)
treecad815d04126a4dbdc903d393c331b382a1519a7 /plugins
parent0d4b874b44dd082eaa61b5b403069d0e3cd38453 (diff)
Bug 2493: Fix (Part 3 of 3):
To prevent Windows compiler errors when using flex 2.5.35. Ignore 'signed /unsigned mismatch' warnings svn path=/trunk/; revision=25174
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mate/mate_parser.l8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/mate/mate_parser.l b/plugins/mate/mate_parser.l
index c58210e574..31d2fa4b88 100644
--- a/plugins/mate/mate_parser.l
+++ b/plugins/mate/mate_parser.l
@@ -47,7 +47,13 @@
#include "mate.h"
#include "mate_grammar.h"
#include "mate_parser_lex.h"
-
+
+#ifdef _WIN32
+/* disable Windows VC compiler warning "signed/unsigned mismatch" associated */
+/* with YY_INPUT code generated by flex versions such as 2.5.35. */
+#pragma warning (disable:4018)
+#endif
+
void MateParser(void*,int, gchar*, mate_config* matecfg);
#if (GLIB_MAJOR_VERSION > 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION >= 16))
void *MateParserAlloc(void *(*)(gsize));