Bug#811932: dahdi-tools: FTBFS with GCC 6: defined but not used

Tzafrir Cohen tzafrir at cohens.org.il
Wed Jan 20 08:39:56 UTC 2016


On Tue, Jan 19, 2016 at 07:48:19PM -0800, Martin Michlmayr wrote:
> Package: dahdi-tools
> Version: 1:2.10.2-2
> Severity: important
> User: debian-gcc at lists.debian.org
> Usertags: ftbfs-gcc-6 gcc-6-unused-const-variable

> > sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
> ...
> > gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I. -Ixtalk -Wall -Werror -Wdate-time -D_FORTIFY_SOURCE=2  -c -o astribank_usb.o astribank_usb.c
> > astribank_usb.c:37:19: error: 'rcsid' defined but not used [-Werror=unused-const-variable]
> >  static const char rcsid[] = "$Id$";

Thanks. As of the move to Git, rcsid-s are indeed no longer used and
could be removed. I'll try to see if this is the only error we get from
GCC 6.

-- 
Tzafrir Cohen         | tzafrir at jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir at cohens.org.il |                    |  best
tzafrir at debian.org    |                    | friend



More information about the Pkg-voip-maintainers mailing list