Fails with gcc4.4 from ./boost/math/special_functions/next.hpp:13, from libs/math/build/../src/tr1/nextafter.cpp:8: ./boost/mpl/apply_wrap.hpp:81:31: error: missing binary operator before token "(" ./boost/mpl/apply_wrap.hpp:173:31: error: missing binary operator before token "(" In file included from ./boost/mpl/bind.hpp:27, from ./boost/mpl/lambda.hpp:18, from ./boost/mpl/apply.hpp:25, from ./boost/mpl/aux_/iter_apply.hpp:17, and similar. The included patch is the fix from upstream included in 1.37
Created attachment 205990 [details] /tmp/build.log build.log
Created attachment 205991 [details] /usr/portage/dev-libs/boost/files/1.36.0-gcc4.4.patch 1.36.0-gcc4.4.patch
ok, i've found another similar bug with gcc:4.3 compiled boost:0 and openoffice compiled with gcc:4.4, see http://bugs.gentoo.org/show_bug.cgi?id=290346 See http://bugs.gentoo.org/show_bug.cgi?id=289799 for extensive tests with gcc:4.4 and boost versions in portage tree.
(In reply to comment #2) > Created an attachment (id=205991) [details] > /usr/portage/dev-libs/boost/files/1.36.0-gcc4.4.patch > > 1.36.0-gcc4.4.patch > I tested a modified version of dev-libs/boost-1.36.0-r1 to include this patch and it builds fine with sys-devel/gcc-4.4.2. However, boost testsuite shows some problems: 249 failures with GCC 4.4.2 while "only" 159 failures with GCC 4.3.4.
Does this work with a more recent boost (1.41 or 1.42), or is there some specific reason you need 1.36?
I cannot remember why I needed that one.
please act on this, remove or fix
# Samuli Suominen <ssuominen@gentoo.org> (18 Mar 2010) # Doesn't compile with next stable toolchain. # # See bug 287638 for reference. # # Removal in 30 days. ~dev-libs/boost-1.36.0 ~dev-util/boost-build-1.36.0
and it's gone