diff --git a/Installation/include/CGAL/config.h b/Installation/include/CGAL/config.h index 47bbad9024d..6cdebb37879 100644 --- a/Installation/include/CGAL/config.h +++ b/Installation/include/CGAL/config.h @@ -85,6 +85,14 @@ #include #include +// bug-fix for g++-5.x and Boost.Config<1.57 +// https://svn.boost.org/trac/boost/ticket/10500 +#if BOOST_VERSION < 105700 && BOOST_GCC < 60000 && \ + ! defined(__GXX_EXPERIMENTAL_CXX0X__) && defined(BOOST_HAS_VARIADIC_TMPL) +# undef BOOST_HAS_VARIADIC_TMPL +# define BOOST_NO_CXX11_VARIADIC_TEMPLATES +#endif + #include //----------------------------------------------------------------------//