Package: zthreads Version: 2.3.2-7.2 Severity: important User: debian-...@lists.debian.org Usertags: ftbfs-gcc-6
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../include -Wdate-time > -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -Wall -DNDEBUG -g -O2 -fstack-protector-strong > -Wformat -Werror=format-security -Wall -DNDEBUG -MT AtomicCount.lo -MD -MP > -MF .deps/AtomicCount.Tpo -c AtomicCount.cxx -fPIC -DPIC -o > .libs/AtomicCount.o > In file included from vanilla/SimpleAtomicCount.cxx:26:0, > from AtomicCount.cxx:55: > ../include/zthread/Guard.h: In static member function 'static void > ZThread::CompoundScope<Scope1, > Scope2>::createScope(ZThread::LockHolder<LockType>&, long unsigned int)': > ../include/zthread/Guard.h:117:16: error: return-statement with a value, in > function returning 'void' [-fpermissive] > return false; > ^~~~~ > > ../include/zthread/Guard.h:121:12: error: return-statement with a value, in > function returning 'void' [-fpermissive] > return true; > ^~~~ > > Makefile:576: recipe for target 'AtomicCount.lo' failed > make[4]: *** [AtomicCount.lo] Error 1 -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise