[doko@debian.org: Bug#625417: ppl: ftbfs with gcc-4.6 -Werror]

Hi all,
As you might have heard already, GCC 4.6 introduced a number of new warnings. As we build the package for Debian with -Werror turned on, these would cause build failures. If you agree that these warnings should be addressed, it would be nice if you could fix them upstream. Otherwise I will introduce Debian-specific patches to work around them.
The best way to find all of them is take a look at the build log at
http://people.debian.org/~doko/tmp/werror/ppl_0.11.2-3_lsid64.buildlog
and search for -Wunused. Many of the warnings relate to ppl.hh, hence are easily fixed by changing the code it is generated from. Only a few others concern the tests.
Thanks a lot, Michael
PS.: If someone could afterwards tell me about the git commit ids that would makes things even easier :-)
----- Forwarded message from Matthias Klose doko@debian.org -----
Date: Tue, 03 May 2011 10:34:10 +0000 From: Matthias Klose doko@debian.org To: maintonly@bugs.debian.org Subject: Bug#625417: ppl: ftbfs with gcc-4.6 -Werror Reply-To: Matthias Klose doko@debian.org, 625417-maintonly@bugs.debian.org
Package: ppl Version: 0.11.2-3 Severity: important Tags: wheezy sid User: debian-gcc@lists.debian.org Usertags: ftbfs-gcc-4.6 ftbfs-werror
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/ppl_0.11.2-3_lsid64.buildlog The last lines of the build log are at the end of this report.
----- End forwarded message -----

On 06/06/11 15:49, Michael Tautschnig wrote:
Hi all,
As you might have heard already, GCC 4.6 introduced a number of new warnings. As we build the package for Debian with -Werror turned on, these would cause build failures. If you agree that these warnings should be addressed, it would be nice if you could fix them upstream. Otherwise I will introduce Debian-specific patches to work around them.
The best way to find all of them is take a look at the build log at
http://people.debian.org/~doko/tmp/werror/ppl_0.11.2-3_lsid64.buildlog
and search for -Wunused. Many of the warnings relate to ppl.hh, hence are easily fixed by changing the code it is generated from. Only a few others concern the tests.
Thanks a lot, Michael
PS.: If someone could afterwards tell me about the git commit ids that would makes things even easier :-)
Hi Michael,
only now I realized you did not get a reply to this message. Sorry about that. Here are the git commit ids that fixed the warnings you reported:
Commit: 15650222d5358a202411066142ab134b03cbea1e Commit: fb5d23c2e4159819a48ea0c33deaa4865a26cc3f Commit: 248939b515763a6a029c0c839f006fbf9b657ab3 Commit: 699a1fe6e0828997e09744ac5d884eac7819d819 Commit: 8b6502299d82bf26cbe9cd6d38c26101fa2e948c Commit: 9248b10e00497f2e57ce2f99256c73fa853f8271 Commit: caaab3ac864be2ba18911c516ee59f8fdbf40159
Cheers,
Roberto
participants (2)
-
Michael Tautschnig
-
Roberto Bagnara