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

Martin Michlmayr tbm at hpe.com
Wed Jan 20 00:29:11 UTC 2016


Package: saga
Version: 2.2.3+dfsg-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
...
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../.. -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I../../../../src/saga_core -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -D_SAGA_UNICODE -fopenmp -lgomp -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c Watersheds.cpp  -fPIC -DPIC -o .libs/Watersheds.o
> Watersheds_ext.cpp: In member function 'CSG_Shape* CWatersheds_ext::Get_Basin(CSG_Grid*, CSG_Shapes*)':
> Watersheds_ext.cpp:620:23: error: cannot convert 'bool' to 'CSG_Shape*' in return
>          return( false );
>                        ^
> 
> Makefile:515: recipe for target 'Watersheds_ext.lo' failed
> make[7]: *** [Watersheds_ext.lo] Error 1

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



More information about the Pkg-grass-devel mailing list