lib: add #pragma's to ignore flex sign cmp error

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
Quentin Young 2017-04-07 17:40:11 +00:00
parent bca0c46d8f
commit 073845da5e

View 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;