From 2bce8b248c38b83e0fd711b821efcd90d0147230 Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Fri, 25 Apr 2008 18:26:54 +0000 Subject: 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 --- epan/uat_load.l | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'epan/uat_load.l') diff --git a/epan/uat_load.l b/epan/uat_load.l index 1045d8e757..2df7df8aaa 100644 --- a/epan/uat_load.l +++ b/epan/uat_load.l @@ -61,6 +61,12 @@ #include "uat_load_lex.h" #include +#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 + static uat_t* uat; static guint colnum; static gchar* ptr; -- cgit v1.2.3