Remove vestiges of -Wunsafe-loop-optimisations.
* conf/Makefile.common (CFLAGS_GNULIB): Remove -Wno-unsafe-loop-optimisations. * grub-core/commands/legacycfg.c: Remove -Wunsafe-loop-optimisations pragma. * grub-core/io/gzio.c: Likewise. * grub-core/script/parser.y: Likewise. * grub-core/script/yylex.l: Likewise. * util/grub-mkfont.c: Likewise.
This commit is contained in:
parent
6ab537e324
commit
ec0ebb3fc2
7 changed files with 14 additions and 9 deletions
13
ChangeLog
13
ChangeLog
|
@ -1,3 +1,16 @@
|
|||
2013-11-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Remove vestiges of -Wunsafe-loop-optimisations.
|
||||
|
||||
* conf/Makefile.common (CFLAGS_GNULIB): Remove
|
||||
-Wno-unsafe-loop-optimisations.
|
||||
* grub-core/commands/legacycfg.c: Remove -Wunsafe-loop-optimisations
|
||||
pragma.
|
||||
* grub-core/io/gzio.c: Likewise.
|
||||
* grub-core/script/parser.y: Likewise.
|
||||
* grub-core/script/yylex.l: Likewise.
|
||||
* util/grub-mkfont.c: Likewise.
|
||||
|
||||
2013-11-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/grub-mkfont.c (process_cursive): Remove nested function.
|
||||
|
|
|
@ -102,7 +102,7 @@ grubconfdir = $(sysconfdir)/grub.d
|
|||
platformdir = $(pkglibdir)/$(target_cpu)-$(platform)
|
||||
starfielddir = $(pkgdatadir)/themes/starfield
|
||||
|
||||
CFLAGS_GNULIB = -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations
|
||||
CFLAGS_GNULIB = -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition
|
||||
CPPFLAGS_GNULIB = -I$(top_builddir)/grub-core/gnulib -I$(top_srcdir)/grub-core/gnulib
|
||||
|
||||
CFLAGS_POSIX = -fno-builtin
|
||||
|
|
|
@ -546,8 +546,6 @@ struct legacy_md5_password
|
|||
grub_uint8_t hash[MD5_HASHLEN];
|
||||
};
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wunsafe-loop-optimizations"
|
||||
|
||||
static int
|
||||
check_password_md5_real (const char *entered,
|
||||
struct legacy_md5_password *pw)
|
||||
|
|
|
@ -363,8 +363,6 @@ static ush mask_bits[] =
|
|||
0x01ff, 0x03ff, 0x07ff, 0x0fff, 0x1fff, 0x3fff, 0x7fff, 0xffff
|
||||
};
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wunsafe-loop-optimizations"
|
||||
|
||||
#define NEEDBITS(n) do {while(k<(n)){b|=((ulg)get_byte(gzio))<<k;k+=8;}} while (0)
|
||||
#define DUMPBITS(n) do {b>>=(n);k-=(n);} while (0)
|
||||
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
|
||||
#pragma GCC diagnostic ignored "-Wunreachable-code"
|
||||
#pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||
#pragma GCC diagnostic ignored "-Wunsafe-loop-optimizations"
|
||||
|
||||
%}
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#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"
|
||||
|
||||
|
|
|
@ -707,8 +707,6 @@ write_be16_section (const char *name, grub_uint16_t data, int* offset,
|
|||
*offset += 10;
|
||||
}
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wunsafe-loop-optimizations"
|
||||
|
||||
static void
|
||||
print_glyphs (struct grub_font_info *font_info)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue