diff --git a/Installation/include/CGAL/config.h b/Installation/include/CGAL/config.h index c726306adff..9dcf7df5e06 100644 --- a/Installation/include/CGAL/config.h +++ b/Installation/include/CGAL/config.h @@ -125,6 +125,12 @@ #define CGAL_CFG_NO_CPP0X_COPY_N 1 #define CGAL_CFG_NO_CPP0X_NEXT_PREV 1 #endif +#if defined(BOOST_NO_EXPLICIT_CONVERSION_OPERATIONS) \ + || defined(BOOST_NO_EXPLICIT_CONVERSION_OPERATORS) \ + || defined(BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS) \ + || (BOOST_VERSION < 103600) +#define CGAL_CFG_NO_CPP0X_EXPLICIT_CONVERSION_OPERATORS 1 +#endif //----------------------------------------------------------------------// diff --git a/Number_types/include/CGAL/mpzf.h b/Number_types/include/CGAL/mpzf.h index 24d68826eca..3ba35df7ca5 100644 --- a/Number_types/include/CGAL/mpzf.h +++ b/Number_types/include/CGAL/mpzf.h @@ -477,7 +477,7 @@ struct mpzf { int ah=asize+a.exp; int bh=bsize+b.exp; if(ah!=bh) return ah-bh; - int minsize=std::min(asize,bsize); + int minsize=(std::min)(asize,bsize); const mp_limb_t* adata=a.data()+(asize-1); const mp_limb_t* bdata=b.data()+(bsize-1); for(int i=0;i0, swap a and b so we don't repeat the code. @@ -616,7 +616,7 @@ struct mpzf { int yexp=y->exp; if(xexp