https://svn.boost.org/trac/boost/ticket/10500 When __GNUC__ > 4, boost defines BOOST_HAS_VARIADIC_TMPL (and not BOOST_NO_CXX11_VARIADIC_TEMPLATES) without checking any of __cplusplus, __GXX_EXPERIMENTAL_CXX0X__ or __cpp_variadic_templates. In file included from libs/thread/src/pthread/thread.cpp:19:0: ./boost/thread/future.hpp:1141:43: warning: variadic templates only available with -std=c++11 or -std=gnu++11 template<typename F1, typename... Fs> GCC 5.2 complains about the issue, and eventually caused build failure. After apply this patch, dev-libs/boost-1.56.0-r1 compiles without problems: https://github.com/boostorg/config/commit/eec808554936ae068b23df07ab54d4dc6302a695.patch
From the date of that patch I assue that either boost-1.57.0 or boost-1.58.0 (both being p.masked) should not have this problem anymore.
I can't reproduce this. emerge --info please.
I confirm this behaviour also with version 1.55.0. Replacing -std=c++98 with -std=c++11 fixed it.
Well it sounds like bug #546882, which is supposed to be fixed in 1.56, but I can't tell if they're the same issue because no one will post a simple build log.
*** This bug has been marked as a duplicate of bug 546882 ***