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 /text2pcap-scanner.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 'text2pcap-scanner.l')
-rw-r--r-- | text2pcap-scanner.l | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/text2pcap-scanner.l b/text2pcap-scanner.l index 90efadf4cf..ed81b23c8f 100644 --- a/text2pcap-scanner.l +++ b/text2pcap-scanner.l @@ -49,6 +49,12 @@ #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 + %} hexdigit [0-9A-Fa-f] |