From 89924b0478b9eb2422570da2a0469fb79a99c986 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sun, 20 Mar 2011 13:17:48 +0000 Subject: [PATCH] Disable fenv.h for Intel < 12.0 as it doesn't actually work! [SVN r70223] --- include/boost/config/compiler/intel.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/boost/config/compiler/intel.hpp b/include/boost/config/compiler/intel.hpp index 3a299387..5e1ce49a 100644 --- a/include/boost/config/compiler/intel.hpp +++ b/include/boost/config/compiler/intel.hpp @@ -218,9 +218,16 @@ template<> struct assert_intrinsic_wchar_t {}; # undef BOOST_NO_AUTO_MULTIDECLARATIONS #endif +#if (BOOST_INTEL_CXX_VERSION < 1200) +// +// fenv.h appears not to work with Intel prior to 12.0: +// +# define BOOST_NO_FENV_H +#endif + // // last known and checked version: -#if (BOOST_INTEL_CXX_VERSION > 1110) +#if (BOOST_INTEL_CXX_VERSION > 1200) # if defined(BOOST_ASSERT_CONFIG) # error "Unknown compiler version - please run the configure tests and report the results" # elif defined(_MSC_VER)