On Tue, 2008-11-11 at 21:51 +0100, Martin Michlmayr wrote:
[...]
> > Automatic build of sgt-puzzles_7983-1 on em64t by sbuild/amd64 0.53
> ...
> > cc   -O2 -Wall -Werror -g -I./ -Iicons/ `sh -c 'pkg-config gtk+-2.0 $0 
> > 2>/dev/null || gtk-config $0' --cflags` -DSHAREDIR="\"/usr/share\"" -fPIC 
> > -fPIC -fPIC -fPIC -fPIC -fPIC -fPIC -fPIC -DDEBIAN_VERSION="\"7983-1\"" 
> > -DHELP_BROWSER_PATH="\"yelp:khelpcenter:sensible-browser\"" -c tree234.c -o 
> > tree234.o
> > cc1: warnings being treated as errors
> > tree234.c: In function 'splitpos234':
> > tree234.c:1163: error: 'halves' may be used uninitialized in this function
> > tree234.c:1163: note: 'halves' was declared here
> > make[1]: *** [tree234.o] Error 1

It seems that the loop exit condition is too complex for the compiler
(or me) to be sure.  It shouldn't hurt to initialise halves before the
loop though.

> and:
> 
> > cc1: warnings being treated as errors
> > lightup.c: In function 'try_rule_out':
> > lightup.c:1019: error: suggest parentheses around operand of'!' or change 
> > '&' to '&&' or '!' to '~'
> > make: *** [lightup.o] Error 1

This looks very much like a bug.  Oddly, the current snapshot doesn't
generate this warning.

Ben.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to