From 2b8d417b2e3de0b7c5dee72933e0289b1c8976cc Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Wed, 15 May 2019 11:04:37 +0200 Subject: [PATCH] Fix mpz_class... with g++ In my understanding, the reason is that the full specialization `Modular_traits` uses `CGAL::mod`, that its uses `Coercion_traits::Type`. That is why the `Coercion_traits` specialization for `__gmp_expr` must be known before. --- Number_types/include/CGAL/mpz_class.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Number_types/include/CGAL/mpz_class.h b/Number_types/include/CGAL/mpz_class.h index 24ceedd4fb7..dc229c02f50 100644 --- a/Number_types/include/CGAL/mpz_class.h +++ b/Number_types/include/CGAL/mpz_class.h @@ -313,6 +313,8 @@ public: } //namespace CGAL +#include +#include #include #include @@ -362,7 +364,4 @@ struct Split_double #undef CGAL_CHECK_GMP_EXPR -#include -#include - #endif // CGAL_MPZ_CLASS_H