On Mon, May 02, 2011 at 02:37:13PM +0200, Lucas Nussbaum wrote:
> Relevant part:
> > cc  -O2 -Wall -Werror -g -I.././ -I../charset/ -I../windows/ -I../unix/ 
> > -I../macosx/ -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
> > -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 
> > -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ 
> > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 
> > -I/usr/include/freetype2 -I/usr/include/libpng12   -D _FILE_OFFSET_BITS=64  
> > -c ../unix/gtkwin.c
> > ../unix/gtkwin.c: In function 'pt_main':
> > ../unix/gtkwin.c:3550:6: error: the comparison will always evaluate as 
> > 'true' for the address of 'new_session_menuitem' will never be NULL 
> > [-Werror=address]
> > ../unix/gtkwin.c:3551:9: error: the comparison will always evaluate as 
> > 'true' for the address of 'restart_session_menuitem' will never be NULL 
> > [-Werror=address]
> > ../unix/gtkwin.c:3554:9: error: the comparison will always evaluate as 
> > 'true' for the address of 'dup_session_menuitem' will never be NULL 
> > [-Werror=address]
> > ../unix/gtkwin.c:3559:6: error: the comparison will always evaluate as 
> > 'true' for the address of 'update_savedsess_menu' will never be NULL 
> > [-Werror=address]
> > ../unix/gtkwin.c:3564:9: error: the comparison will always evaluate as 
> > 'true' for the address of 'change_settings_menuitem' will never be NULL 
> > [-Werror=address]
> > ../unix/gtkwin.c:3567:6: error: the comparison will always evaluate as 
> > 'true' for the address of 'event_log_menuitem' will never be NULL 
> > [-Werror=address]
> > ../unix/gtkwin.c:3576:2: error: the comparison will always evaluate as 
> > 'true' for the address of 'clear_scrollback_menuitem' will never be NULL 
> > [-Werror=address]
> > ../unix/gtkwin.c:3577:2: error: the comparison will always evaluate as 
> > 'true' for the address of 'reset_terminal_menuitem' will never be NULL 
> > [-Werror=address]
> > ../unix/gtkwin.c:3578:2: error: the comparison will always evaluate as 
> > 'true' for the address of 'copy_all_menuitem' will never be NULL 
> > [-Werror=address]
> > ../unix/gtkwin.c:3581:2: error: the comparison will always evaluate as 
> > 'true' for the address of 'about_menuitem' will never be NULL 
> > [-Werror=address]
> > cc1: all warnings being treated as errors

On Tue, May 03, 2011 at 10:34:13AM +0000, Matthias Klose wrote:
> This package builds with -Werror, and GCC 4.6 triggers new warnings
> which will make the package fail to build.  Currently a Debian patch
> just passes
>     -Wno-error=unused-but-set-variable and
>     -Wno-error=unused-but-set-parameter
> to avoid build failures, but this patch will be reverted with the
> GCC 4.6.1 release, and the severity of the report will be raised.
> 
> The full build log can be found at:
> http://people.debian.org/~doko/tmp/werror/putty_0.60+2010-12-08-1_lsid64.buildlog
> The last lines of the build log are at the end of this report.

I've sent a patch to upstream correcting both these problems; they're
usually very responsive.  If that's accepted, I'll roll a new snapshot
release.

Thanks,

-- 
Colin Watson                                       [cjwat...@debian.org]



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to