Skip to content

Commit

Permalink
Disable boost quad math to avoid warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
nealkruis committed Aug 28, 2024
1 parent 48ad399 commit ad03721
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/libkiva/Geometry.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
#pragma GCC diagnostic ignored "-Wuninitialized"
#pragma GCC diagnostic ignored "-Wstrict-overflow"
#endif

// Extended precision is not used by kiva
// Disable boost quadmath to avoid warnings
#define BOOST_CSTDFLOAT_NO_LIBQUADMATH_CMATH
#define BOOST_CSTDFLOAT_NO_LIBQUADMATH_IOSTREAM
#define BOOST_CSTDFLOAT_NO_LIBQUADMATH_COMPLEX

#include <boost/geometry.hpp>
#include <boost/geometry/geometries/geometries.hpp>
#if defined(_MSC_VER)
Expand Down

0 comments on commit ad03721

Please sign in to comment.