From 01ab4856b0c74c5f776d0db78fb84e263735fb71 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Thu, 25 Jan 2018 17:06:13 +0100 Subject: [PATCH] Set BOOST_PARAMETER_MAX_ARITY very early --- Installation/include/CGAL/config.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Installation/include/CGAL/config.h b/Installation/include/CGAL/config.h index 70cb2a2281f..7c3cde37f53 100644 --- a/Installation/include/CGAL/config.h +++ b/Installation/include/CGAL/config.h @@ -107,6 +107,17 @@ # define BOOST_TT_HAS_POST_INCREMENT_HPP_INCLUDED #endif +// Macro used by Boost Parameter. Mesh_3 needs at least 12, before the +// Boost Parameter headers are included: +// defines the value to 8, if it is not yet defined. +// The CGAL BGL properties mechanism includes +// , that includes +// , and maybe other Boost libraries may use +// Boost Parameter as well. +// That is why that is important to define that macro as early as possible, +// in +#define BOOST_PARAMETER_MAX_ARITY 12 + // The following header file defines among other things BOOST_PREVENT_MACRO_SUBSTITUTION #include #include