grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lists and aliasing (Re: Freeze on 27 February)


From: Lennart Sorensen
Subject: Re: Lists and aliasing (Re: Freeze on 27 February)
Date: Wed, 22 Feb 2012 13:01:41 -0500
User-agent: Mutt/1.5.20 (2009-06-14)

On Wed, Feb 22, 2012 at 12:46:14PM -0500, Lennart Sorensen wrote:
> Hmm.
> 
> gcc-4.4 -DHAVE_CONFIG_H -I. -I../..  -Wall -W -I./include -DGRUB_UTIL=1 
> -DGRUB_LIBDIR=\"/usr/lib/grub\" -DLOCALEDIR=\"/usr/share/locale\"  
> -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=POWERPC_EMU -DGRUB_TARGET_CPU_POWERPC=1 
> -DGRUB_FILE=\"util/grub-mkfont.c\" -I. -I../.. -I. -I../.. -I../../include 
> -I./include -I./grub-core/gnulib -I../../grub-core/gnulib   -g -Wall -O2 
> -Wall -W -Wshadow -Wold-style-declaration -Wold-style-definition 
> -Wpointer-arith -Wundef -Wextra -Waddress -Warray-bounds -Wattributes 
> -Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts -Wclobbered 
> -Wcomment -Wcoverage-mismatch -Wdeprecated -Wdeprecated-declarations 
> -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels 
> -Wfloat-equal -Wformat-contains-nul -Wformat-extra-args -Wformat-security 
> -Wformat-y2k -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration 
> -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch 
> -Wunsafe-loop-optimizations -Wlogical-op -Wmain -Wmissing-braces 
> -Wmissing-field-initializers -Wmissing-for
> mat-attribute -Wmissing-noreturn -Wmudflap -Wmultichar -Wnonnull -Woverflow 
> -Wpacked-bitfield-compat -Wparentheses -Wpointer-arith -Wpointer-to-int-cast 
> -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing 
> -Wswitch -Wsync-nand -Wtrigraphs  -Wtype-limits -Wundef -Wuninitialized 
> -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label 
> -Wunused-parameter -Wunused-value  -Wunused-variable -Wvariadic-macros 
> -Wvolatile-register-var -Wwrite-strings -Wmissing-parameter-type 
> -Wnested-externs -Wstrict-prototypes -Wpointer-sign -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 -I/usr/include/freetype2   -c -o 
> util/grub_mkfont-grub-mkfont.o `test -f 'util/grub-mkfont.c' || echo 
> '../../'`util/grub-mkfont.c
> ../../util/grub-mkfont.c: In function 'main':
> ../../util/grub-mkfont.c:722: error: cannot optimize possibly infinite loops
> 
> That was unexpected.  --disable-werror didn't prevent that from failing.

gcc 4.6 on the other hand now seems to compile with -Werror enabled.

-- 
Len Sorensen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]