[Debian-med-packaging] Bug#811938: theseus: FTBFS with GCC 6: defined but not used
Martin Michlmayr
tbm at hpe.com
Wed Jan 20 03:50:11 UTC 2016
Package: theseus
Version: 3.3.0-4
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-unused-const-variable
This package fails to build with GCC 6. GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.
Note that only the first error is reported; there might be more. You
can find a snapshot of GCC 6 in experimental. To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.
You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html
> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> /usr/bin/gcc -O3 -ffast-math -fstrict-aliasing -funroll-loops -fomit-frame-pointer -Wall -Werror -pedantic -std=c99 -Wno-unused-result -pthread -c MultiPose.c
> In file included from MultiPose_local.h:52:0,
> from MultiPose.c:25:
> internmat.h:28:21: error: 'internmat' defined but not used [-Werror=unused-const-variable]
> static const double internmat[67][67] =
> ^~~~~~~~~
>
> cc1: all warnings being treated as errors
> Makefile:90: recipe for target 'MultiPose.o' failed
> make[1]: *** [MultiPose.o] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the Debian-med-packaging
mailing list