diff options
| author | Renato Westphal <renato@openbsd.org> | 2017-04-07 18:48:14 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-07 18:48:14 -0300 |
| commit | 73a9e6d2a571b5626b071fe69dd2faffaa33f946 (patch) | |
| tree | f9d032e4ab12881cbf69fddf55b08e09f0aaa802 | |
| parent | dad9e527fcf33f169326054fb6924ff16af31669 (diff) | |
| parent | 073845da5e32aa15b9636bcbe7be994e2bd7f8b4 (diff) | |
Merge pull request #347 from qlyoung/ignore-flex-sign-error
lib: add #pragma to ignore flex sign cmp error
| -rw-r--r-- | lib/command_lex.l | 3 |
1 files changed, 3 insertions, 0 deletions
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; |
