From 71fa89f5e1ce63847594c1e3b2b785f0da23d0e2 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Thu, 2 Oct 2014 19:00:41 +0100 Subject: [PATCH] Disable log1p and expm1 support in mingw - they often crash for reasons yet to be determined. --- include/boost/config/platform/win32.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/boost/config/platform/win32.hpp b/include/boost/config/platform/win32.hpp index 2a91519e..60a29abe 100644 --- a/include/boost/config/platform/win32.hpp +++ b/include/boost/config/platform/win32.hpp @@ -41,8 +41,10 @@ #endif #if defined(__MINGW32__) && (__GNUC__ >= 4) -# define BOOST_HAS_EXPM1 -# define BOOST_HAS_LOG1P +// Mingw has these functions but there are persistent problems +// with calls to these crashing, so disable for now: +//# define BOOST_HAS_EXPM1 +//# define BOOST_HAS_LOG1P # define BOOST_HAS_GETTIMEOFDAY #endif //