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

Michael Tautschnig mt at debian.org
Mon Jun 6 15:49:23 CEST 2011


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 at debian.org> -----

Date: Tue, 03 May 2011 10:34:10 +0000
From: Matthias Klose <doko at debian.org>
To: maintonly at bugs.debian.org
Subject: Bug#625417: ppl: ftbfs with gcc-4.6 -Werror
Reply-To: Matthias Klose <doko at debian.org>, 625417-maintonly at bugs.debian.org

Package: ppl
Version: 0.11.2-3
Severity: important
Tags: wheezy sid
User: debian-gcc at 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 -----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://www.cs.unipr.it/pipermail/ppl-devel/attachments/20110606/77dddb5d/attachment.sig>


More information about the PPL-devel mailing list