mirror of https://github.com/CGAL/cgal
Add hack in config.h for boost detection of CXX11 features with ICC
This commit is contained in:
parent
09c11ca84a
commit
6bc9fb5852
|
|
@ -117,10 +117,18 @@
|
|||
# define BOOST_NO_CXX11_VARIADIC_TEMPLATES
|
||||
#endif
|
||||
|
||||
|
||||
// workaround for the bug https://svn.boost.org/trac10/ticket/12534
|
||||
// That bug was introduced in Boost 1.62 and fixed in 1.63.
|
||||
#if BOOST_VERSION >= 106200 && BOOSTS_VERSION < 106300
|
||||
# include <boost/container/flat_map.hpp>
|
||||
#endif=======
|
||||
|
||||
// Hack: boost does not detect correctly the cxx11 features of ICC
|
||||
// We declare by hand two features that we need (variadic templates and rvalue references)
|
||||
#ifdef __INTEL_COMPILER
|
||||
# undef BOOST_NO_CXX11_VARIADIC_TEMPLATES
|
||||
# undef BOOST_NO_CXX11_RVALUE_REFERENCES
|
||||
#endif
|
||||
|
||||
#include <CGAL/version.h>
|
||||
|
|
|
|||
Loading…
Reference in New Issue