mirror of https://github.com/CGAL/cgal
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:
commit
cb0ea968f1
|
|
@ -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>
|
||||
|
||||
//----------------------------------------------------------------------//
|
||||
|
|
|
|||
Loading…
Reference in New Issue