diff options
author | Bill Meier <wmeier@newsguy.com> | 2008-04-25 18:26:54 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2008-04-25 18:26:54 +0000 |
commit | 2bce8b248c38b83e0fd711b821efcd90d0147230 (patch) | |
tree | cad815d04126a4dbdc903d393c331b382a1519a7 /epan/dtd_preparse.l | |
parent | 0d4b874b44dd082eaa61b5b403069d0e3cd38453 (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 'epan/dtd_preparse.l')
-rw-r--r-- | epan/dtd_preparse.l | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dtd_preparse.l b/epan/dtd_preparse.l index c73d722772..7a8fa5e8d0 100644 --- a/epan/dtd_preparse.l +++ b/epan/dtd_preparse.l @@ -84,6 +84,12 @@ static const gchar* location(void); #define YY_NO_UNISTD_H #endif +#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 + %} xmlpi_start "<?" xmlpi_stop "?>" |