Merge pull request #671 from lrineau/Installation-fix_Boost.Config_1.57_gcc_5-lrineau

Fix a bug in Boost.Config<1.57 with gcc>=5.0
This commit is contained in:
Sébastien Loriot 2016-01-25 08:28:51 +01:00
commit cb0ea968f1
1 changed files with 8 additions and 0 deletions

View File

@ -85,6 +85,14 @@
#include <boost/config.hpp>
#include <boost/version.hpp>
// 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 <CGAL/version.h>
//----------------------------------------------------------------------//