[Debian-med-packaging] Bug#811614: FTBFS with GCC 6: cannot convert	x to y
    Martin Michlmayr 
    tbm at hpe.com
       
    Wed Jan 20 00:20:14 UTC 2016
    
    
  
Package: transtermhp
Version: 2.09-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
...
> g++ -g -O3 -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2  -c -o seq.o seq.cc
> seq.cc: In function 'Seq* read_seq(std::istream&)':
> seq.cc:86:25: error: cannot convert 'bool' to 'Seq*' in return
>      if(i == EOF) return false;
>                          ^~~~~
> 
> seq.cc:93:25: error: cannot convert 'bool' to 'Seq*' in return
>      if(i == EOF) return false;
>                          ^~~~~
> 
> seq.cc:112:25: error: cannot convert 'bool' to 'Seq*' in return
>      if(i == EOF) return false;
>                          ^~~~~
> 
> <builtin>: recipe for target 'seq.o' failed
> make[1]: *** [seq.o] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_build: make -j1 returned exit code 2
-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
    
    
More information about the Debian-med-packaging
mailing list