diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2017-08-18 20:11:47 +0100 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2017-09-19 10:06:07 +0000 |
commit | 8615e78630e8deace183d150e2c1e5fc60d561ba (patch) | |
tree | abf76c1f31bb8e593c9c38c20615a302c9b197fe /plugins | |
parent | dd5875c487dea7e75b3653485d153c0dab909699 (diff) |
Disable flex-generated [-Wsign-compare] warnings
Change-Id: Iace0462e6bb50573f3e4603f7a19e4b7ee1f9733
Reviewed-on: https://code.wireshark.org/review/23541
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mate/mate_parser.l | 4 | ||||
-rw-r--r-- | plugins/wimaxasncp/wimaxasncp_dict.l | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/plugins/mate/mate_parser.l b/plugins/mate/mate_parser.l index b266b4061a..b2ff7117cc 100644 --- a/plugins/mate/mate_parser.l +++ b/plugins/mate/mate_parser.l @@ -84,6 +84,8 @@ #include <wsutil/file_util.h> +DIAG_OFF(sign-compare) + #ifdef _WIN32 /* disable Windows VC compiler warning "signed/unsigned mismatch" associated */ /* with YY_INPUT code generated by flex versions such as 2.5.35. */ @@ -335,6 +337,8 @@ blk_cmnt_stop "*/" %% +DIAG_ON(sign-compare) + extern gboolean mate_load_config(const gchar* filename, mate_config* mc) { FILE *in; yyscan_t scanner; diff --git a/plugins/wimaxasncp/wimaxasncp_dict.l b/plugins/wimaxasncp/wimaxasncp_dict.l index 7e4db0b8fd..7283b0ec43 100644 --- a/plugins/wimaxasncp/wimaxasncp_dict.l +++ b/plugins/wimaxasncp/wimaxasncp_dict.l @@ -100,6 +100,8 @@ #include "wimaxasncp_dict.h" +DIAG_OFF(sign-compare) + typedef struct entity_t { gchar *name; gchar *file; @@ -521,6 +523,8 @@ since_attr since=\042 %% +DIAG_ON(sign-compare) + static int debugging = 0; static void wimaxasncp_dict_debug(const gchar *fmt, ...) { |