[Boost-bugs] [Boost C++ Libraries] #5356: math/tools/config.hpp adjustment for Intel C++

Subject: [Boost-bugs] [Boost C++ Libraries] #5356: math/tools/config.hpp adjustment for Intel C++
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-22 16:23:26


#5356: math/tools/config.hpp adjustment for Intel C++
-------------------------------------+--------------------------------------
 Reporter: rwgk | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: math
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 With the current boost svn trunk rev. 70385 our Intel C++ 9.1, 10.1, 11.0
 builds are failing:

 boost/boost/detail/fenv.hpp(11): catastrophic error: #error directive:
 This platform does not have a floating point environment
     #error This platform does not have a floating point environment
      ^

 compilation aborted for minimal.cpp (code 4)

 This fixes the problem:

 Index: boost/math/tools/config.hpp
 ===================================================================
 --- boost/math/tools/config.hpp (revision 70385)
 +++ boost/math/tools/config.hpp (working copy)
 @@ -255,7 +255,7 @@
  } // namespace tools
  }} // namespace boost namespace math

 -#if (defined(__linux__) && !defined(__UCLIBC__)) || defined(__QNX__) ||
 defined(__IBMCPP__)
 +#if (defined(__linux__) && !defined(__UCLIBC__) &&
 !defined(__INTEL_COMPILER)) || defined(__QNX__) || defined(__IBMCPP__)

     #include <boost/detail/fenv.hpp>


 I didn't check this is because I'm not sure if this is the correct fix.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5356>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:06 UTC