From 9cc836a27be4a95f6f7bfd5b6bc099801645c0ea Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Wed, 5 Sep 2012 08:51:31 +0200 Subject: [PATCH] * grub-core/script/yylex.l: Ignore unused-function and sign-compare warnings. --- ChangeLog | 5 +++++ grub-core/script/yylex.l | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 70f0c86ae..66a0245bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-09-05 Vladimir Serbinenko + + * grub-core/script/yylex.l: Ignore unused-function and sign-compare + warnings. + 2012-09-05 Vladimir Serbinenko * grub-core/partmap/dvh.c (grub_dvh_is_valid): Add missing byteswap. diff --git a/grub-core/script/yylex.l b/grub-core/script/yylex.l index f6a39c54b..8fdcfef67 100644 --- a/grub-core/script/yylex.l +++ b/grub-core/script/yylex.l @@ -29,6 +29,8 @@ #pragma GCC diagnostic ignored "-Wmissing-prototypes" #pragma GCC diagnostic ignored "-Wmissing-declarations" #pragma GCC diagnostic ignored "-Wunsafe-loop-optimizations" +#pragma GCC diagnostic ignored "-Wunused-function" +#pragma GCC diagnostic ignored "-Wsign-compare" #define yyfree grub_lexer_yyfree #define yyalloc grub_lexer_yyalloc