From 073845da5e32aa15b9636bcbe7be994e2bd7f8b4 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Fri, 7 Apr 2017 17:40:11 +0000 Subject: [PATCH] lib: add #pragma's to ignore flex sign cmp error Signed-off-by: Quentin Young --- lib/command_lex.l | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/command_lex.l b/lib/command_lex.l index deec1757c2..c020d193a1 100644 --- a/lib/command_lex.l +++ b/lib/command_lex.l @@ -23,6 +23,9 @@ */ %{ +/* ignore harmless bug in old versions of flex */ +#pragma GCC diagnostic ignored "-Wsign-compare" + #include "command_parse.h" #define YY_USER_ACTION yylloc->last_column += yyleng; -- 2.39.5