Bug#615157: Using -Werror in CFLAGS for a debian package build

2011-05-17 Thread Matthias Klose
On 05/17/2011 02:00 PM, Charles Plessy wrote: Is there an easy way we can suggest to our upstreams to re-enable the errors ? That may be useful for them to update their code. - look out for / grep for the warnings - use gcc-snapshot - explicitly pass -Werror=unused-but... -- To UNSUBSCRIBE,

Bug#615157: Using -Werror in CFLAGS for a debian package build

2011-05-17 Thread Charles Plessy
Le Tue, May 17, 2011 at 01:31:14AM +0200, Wouter Verhelst a écrit : > > What I didn't notice immediately was that gcc was emitting some > warnings, but that the -Werror option was not honored for those > warnings. Investigating turned up #615157 (Cc'd): the gcc maintainers > have decided to disabl

Bug#615157: Using -Werror in CFLAGS for a debian package build

2011-05-17 Thread Matthias Klose
On 05/17/2011 01:31 AM, Wouter Verhelst wrote: [...] see http://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-werror;users=debian-gcc@lists.debian.org """ This package builds with -Werror, and GCC 4.6 triggers new warnings which will make the package fail to build. Currently a Debian patch ju

Bug#615157: Using -Werror in CFLAGS for a debian package build

2011-05-16 Thread Wouter Verhelst
Hi -devel, I was working on nbd-server upstream, and so had ran ./configure with CFLAGS='-Wall -Werror', which I consider good practice when writing C code. What I didn't notice immediately was that gcc was emitting some warnings, but that the -Werror option was not honored for those warnings. In