mirror of https://github.com/CGAL/cgal
Include CGAL/gmp.h before the boost multiprecision GMP wrapper, for warnings.
This commit is contained in:
parent
cbe02d40e7
commit
0211ca58c7
|
|
@ -30,6 +30,7 @@
|
||||||
|
|
||||||
#include <boost/multiprecision/cpp_int.hpp>
|
#include <boost/multiprecision/cpp_int.hpp>
|
||||||
#ifdef CGAL_USE_GMP
|
#ifdef CGAL_USE_GMP
|
||||||
|
#include <CGAL/gmp.h>
|
||||||
#include <boost/multiprecision/gmp.hpp>
|
#include <boost/multiprecision/gmp.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@
|
||||||
// ... but we kind of have to :-(
|
// ... but we kind of have to :-(
|
||||||
#include <boost/multiprecision/cpp_int.hpp>
|
#include <boost/multiprecision/cpp_int.hpp>
|
||||||
#ifdef CGAL_USE_GMP
|
#ifdef CGAL_USE_GMP
|
||||||
|
#include <CGAL/gmp.h>
|
||||||
#include <boost/multiprecision/gmp.hpp>
|
#include <boost/multiprecision/gmp.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,7 @@
|
||||||
# include <boost/multiprecision/cpp_int.hpp>
|
# include <boost/multiprecision/cpp_int.hpp>
|
||||||
// After some CGAL includes so we get a chance to define CGAL_USE_GMP.
|
// After some CGAL includes so we get a chance to define CGAL_USE_GMP.
|
||||||
# ifdef CGAL_USE_GMP
|
# ifdef CGAL_USE_GMP
|
||||||
|
# include <CGAL/gmp.h>
|
||||||
# include <boost/multiprecision/gmp.hpp>
|
# include <boost/multiprecision/gmp.hpp>
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue