Fixed in upstream, will be available in upcoming release odin-2.0.1 Thank you for reporting, Thies
On Tuesday, 19. January 2016 18:28:05 Martin Michlmayr wrote: > Package: odin > Version: 1.8.8-2 > Severity: important > User: [email protected] > Usertags: ftbfs-gcc-6 gcc-6-no-match > > 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. > > You may be able to find out more about this issue at > https://gcc.gnu.org/gcc-6/changes.html > > > sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux > > ... > > > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../tjutils -I.. > > -I/<<PKGBUILDDIR>> -I/usr/include/qwt-qt4 -I/usr/share/qt4/include/QtGui > > -I/usr/share/qt4/include/QtCore -I/usr/share/qt4/include -I. > > -I/usr/include/dcmtk -I/usr/include/dcmtk/dcmdata > > -I/usr/include/dcmtk/ofstd -I/usr/include/nifti -I/usr/include/vtk-5.4 > > -I/usr/include/vtk-5.6 -I/usr/include/vtk-5.8 -I/usr/include/vtk-5.10 > > -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/vtk-5.4 > > -I/usr/include/vtk-5.6 -I/usr/include/vtk-5.8 -I/usr/include/vtk-5.10 -O3 > > -fno-tree-vectorize -g -O2 -fstack-protector-strong -Wformat > > -Werror=format-security -c fileio_gzip.cpp -fPIC -DPIC -o > > .libs/fileio_gzip.o fileio_gzip.cpp: In member function 'bool > > GzipFormat::file_compress(std::__cxx11::string, std::__cxx11::string)': > > fileio_gzip.cpp:89:12: error: no match for 'operator==' (operand types > > are 'std::ifstream {aka std::basic_ifstream<char>}' and 'long int')> > > if (in == NULL) { > > > > ~~~^~~~ > > > > fileio_gzip.cpp:89:12: note: candidate: operator==(int, long int) > > <built-in> fileio_gzip.cpp:89:12: note: no known conversion for > > argument 1 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'int' > > In file included from /usr/include/blitz/array/ops.h:36:0, > > > > from /usr/include/blitz/range.cc:6, > > from /usr/include/blitz/array.cc:11, > > from /usr/include/blitz/array-impl.h:2559, > > from /usr/include/blitz/array.h:37, > > from ../odindata/data.h:64, > > from fileio.h:24, > > > > from fileio_gzip.cpp:1: > > /usr/include/blitz/array/ops.h:63:1: note: candidate: template<class T1, > > class T2> typename blitz::BzBinaryExprResult<blitz::Equal, T1, > > T2>::T_result blitz::operator==(const blitz::ETBase<T>&, const > > blitz::ETBase<T2>&)> > > BZ_DECLARE_ARRAY_ET_BINARY(operator==, Equal) > > ^ > > > > /usr/include/blitz/array/ops.h:63:1: note: template argument > > deduction/substitution failed: In file included from > > /usr/include/unistd.h:229:0, > > > > from /usr/include/x86_64-linux-gnu/zconf.h:452, > > from /usr/include/zlib.h:34, > > > > from fileio_gzip.cpp:42: > > fileio_gzip.cpp:89:15: note: 'std::ifstream {aka > > std::basic_ifstream<char>}' is not derived from 'const blitz::ETBase<T>'> > > if (in == NULL) { > > > > ^ -- ( ͡° ͜ʖ ͡°)

