Bug#811621: FTBFS with GCC 6: cannot convert x to y

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


Package: critterding
Version: 1.0-beta12.1-1.2
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
...
> /bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..   -I/usr/include/FTGL -I/usr/include/freetype2  -g -O2 -MT brainz.lo -MD -MP -MF .deps/brainz.Tpo -c -o brainz.lo brainz.cpp
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/FTGL -I/usr/include/freetype2 -g -O2 -MT brainz.lo -MD -MP -MF .deps/brainz.Tpo -c brainz.cpp  -fPIC -DPIC -o .libs/brainz.o
> brainz.cpp: In member function 'void Brainz::processTillAnswer()':
> brainz.cpp:140:24: error: cannot convert 'bool' to 'bool*' in assignment
>     Outputs[i].output = false;
>                         ^~~~~
> 
> Makefile:411: recipe for target 'brainz.lo' failed
> make[3]: *** [brainz.lo] Error 1

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



More information about the debian-science-maintainers mailing list