Created attachment 374374 [details] zthread-2.3.2-r3-build.log Build of zthread-2.3.2-r3 with clang-3.4 fails with following error: [snip] libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../include -mtune=core2 -O2 -pipe -ggdb -Wall -DNDEBUG -mtune=core2 -O2 -pipe -ggdb -Wall -DNDEBUG -c AtomicCount.cxx -fPIC -DPIC -o .libs/AtomicCount.o In file included from AtomicCount.cxx:55: In file included from ./vanilla/SimpleAtomicCount.cxx:26: ../include/zthread/Guard.h:117:9: error: void function 'createScope' should not return a value [-Wreturn-type] return false; ^ ~~~~~ ../include/zthread/Guard.h:121:5: error: void function 'createScope' should not return a value [-Wreturn-type] return true; ^ ~~~~ 2 errors generated. Makefile:565: recipe for target 'AtomicCount.lo' failed make[3]: *** [AtomicCount.lo] Error 1 [/snip]
According to a grep on the tree, the only package depending on zthread is hugin, which... bundles its own version. Upstream seems dead, last release was on 2005-03-13, I don't think it will be possible to upstream the patch. The references I've found, which contain the patch that Hugin uses: https://bugs.launchpad.net/hugin/+bug/1213585 https://sourceforge.net/p/hugin/mailman/message/31382899/
I sent a PR and notified maintainers on IRC: https://github.com/gentoo/gentoo/pull/1585
(In reply to Austin English from comment #2) > I sent a PR and notified maintainers on IRC: > https://github.com/gentoo/gentoo/pull/1585 Fixed by dev-libs/zthread-2.3.2-r4 https://github.com/gentoo/gentoo/commit/5f3562b328dcadeb4f73863bac2128a67df87eda