[Dsc-maintainers] Bug#811618: FTBFS with GCC 6: cannot convert x to y

Martin Michlmayr tbm at hpe.com
Wed Jan 20 00:22:10 UTC 2016


Package: dsc-statistics
Version: 201203250530-2.1
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-cannot-convert

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.

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
>  g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Algorithm.lo -MD -MP -MF .deps/Algorithm.Tpo -c Algorithm.cc -o Algorithm.o
> In file included from ../src/include/Hapy/RuleBase.h:11:0,
>                  from Algorithm.cc:6:
> ../src/include/Hapy/RuleCompFlags.h: In constructor 'Hapy::RuleCompFlags::RuleCompFlags()':
> ../src/include/Hapy/RuleCompFlags.h:15:37: error: cannot convert 'bool' to 'Hapy::RulePtr {aka Hapy::RuleBase*}' in initialization
>     ignoreCase(false), reachEnd(false) {}
>                                      ^
> 
> Makefile:388: recipe for target 'Algorithm.lo' failed
> make[5]: *** [Algorithm.lo] Error 1

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the Dsc-maintainers mailing list