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

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


Package: libclaw
Version: 1.7.3-1.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
...
> /usr/bin/c++   -DCLAW_JPEG_SUPPORT -DCLAW_PNG_SUPPORT -Dclaw_graphic_EXPORTS -I/<<PKGBUILDDIR>>/.  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -fPIC   -o CMakeFiles/claw_graphic.dir/claw/code/bitmap_writer.cpp.o -c /<<PKGBUILDDIR>>/claw/code/bitmap_writer.cpp
> /<<PKGBUILDDIR>>/claw/code/configuration_file.cpp: In member function 'bool claw::configuration_file::get_line(std::istream&, const claw::configuration_file::syntax_description&, std::__cxx11::string&) const':
> /<<PKGBUILDDIR>>/claw/code/configuration_file.cpp:444:39: error: cannot convert 'std::basic_istream<char>' to 'bool' in initialization
>    bool result = text::getline(is, line);
>                                        ^
> 
> [ 24%] Building CXX object CMakeFiles/claw_graphic.dir/claw/code/bitmap_reader.cpp.o

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



More information about the Pkg-games-devel mailing list