]> git.puffer.fish Git - mirror/frr.git/commitdiff
lib: add #pragma's to ignore flex sign cmp error 347/head
authorQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 7 Apr 2017 17:40:11 +0000 (17:40 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 7 Apr 2017 19:18:57 +0000 (19:18 +0000)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
lib/command_lex.l

index deec1757c28cf84049ceca2468c969f864cb0093..c020d193a12515b45671ae12c9cb6ff44ee01c84 100644 (file)
@@ -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;