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 12:38:33 -0500
User-agent: Mutt/1.5.20 (2009-06-14)

On Wed, Feb 22, 2012 at 12:16:12PM -0500, Lennart Sorensen wrote:
> OK I checked out the latest bzr tree, and applied this patch.
> 
> I now get:
> ../../grub-core/gnulib/argp.h:610:1: warning: no previous declaration for 
> 'argp_usage' [-Wmissing-declarations]
> ../../grub-core/gnulib/argp.h:616:1: warning: no previous declaration for 
> '_option_is_short' [-Wmissing-declarations]
> ../../grub-core/gnulib/argp.h:628:1: warning: no previous declaration for 
> '_option_is_end' [-Wmissing-declarations]
> 
> instead of the missing prototypes.

Taking out the -Wno-unsafe-loop-optimisation (and ignoring the argp.h
issue above) reduces it to:

../../grub-core/disk/ldm.c:834: warning: 'res_lv' may be used uninitialized in 
this function
../../grub-core/lib/minilzo/minilzo.c:4187: warning: logical '&&' with non-zero 
constant will always evaluate as true
../../grub-core/lib/minilzo/minilzo.c:4526: warning: logical '&&' with non-zero 
constant will always evaluate as true
grub_script.tab.c:2134: warning: cannot optimize loop, the loop counter may 
overflow
../../grub-core/lib/libgcrypt-grub/cipher/serpent.c:591: warning: comparison 
between signed and unsigned integer expressions
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:173: warning: comparison 
between signed and unsigned integer expressions
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:324: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:324: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:347: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:371: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:515: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:539: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:562: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:582: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../util/grub-mkfont.c:720: warning: cannot optimize possibly infinite loops
../../../grub-core/gnulib/regexec.c:2802: warning: cannot optimize possibly 
infinite loops
../../../grub-core/gnulib/regexec.c:2443: warning: cannot optimize possibly 
infinite loops
../../../grub-core/gnulib/regcomp.c:2588: warning: cannot optimize possibly 
infinite loops
../../../grub-core/gnulib/regcomp.c:2554: warning: cannot optimize possibly 
infinite loops
../../../grub-core/normal/charset.c:737: warning: cannot optimize possibly 
infinite loops
grub_script.tab.c:2134: warning: cannot optimize loop, the loop counter may 
overflow
../../../grub-core/net/net.c:621: warning: cannot optimize possibly infinite 
loops
../../../grub-core/commands/legacycfg.c:567: warning: cannot optimize loop, the 
loop counter may overflow
../../../grub-core/lib/minilzo/minilzo.c:4187: warning: logical '&&' with 
non-zero constant will always evaluate as true
../../../grub-core/lib/minilzo/minilzo.c:4526: warning: logical '&&' with 
non-zero constant will always evaluate as true
../../../grub-core/lib/libgcrypt-grub/cipher/serpent.c:591: warning: comparison 
between signed and unsigned integer expressions
../../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:173: warning: 
comparison between signed and unsigned integer expressions

-- 
Len Sorensen



reply via email to

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