Subject: [Boost-bugs] [Boost C++ Libraries] #6120: Compilation error in math/tools/config.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-13 09:31:01
#6120: Compilation error in math/tools/config.hpp
------------------------------------------------+---------------------------
Reporter: apolukhin | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: math
Version: Boost Release Branch | Severity: Problem
Keywords: fexcept_t FE_ALL_EXCEPT config.hpp |
------------------------------------------------+---------------------------
{{{
/home/cc/downloads/boost_1_48_0_beta1/include/boost/math/tools/config.hpp:283:7:
error: âfexcept_tâ does not name a type
/home/cc/downloads/boost_1_48_0_beta1/include/boost/math/tools/config.hpp:
In constructor âboost::math::detail::fpu_guard::fpu_guard()â:
/home/cc/downloads/boost_1_48_0_beta1/include/boost/math/tools/config.hpp:275:27:
error: âm_flagsâ was not declared in this scope
/home/cc/downloads/boost_1_48_0_beta1/include/boost/math/tools/config.hpp:275:36:
error: âFE_ALL_EXCEPTâ was not declared in this scope
/home/cc/downloads/boost_1_48_0_beta1/include/boost/math/tools/config.hpp:275:49:
error: âfegetexceptflagâ was not declared in this scope
/home/cc/downloads/boost_1_48_0_beta1/include/boost/math/tools/config.hpp:276:37:
error: âfeclearexceptâ was not declared in this scope
/home/cc/downloads/boost_1_48_0_beta1/include/boost/math/tools/config.hpp:
In destructor âboost::math::detail::fpu_guard::~fpu_guard()â:
/home/cc/downloads/boost_1_48_0_beta1/include/boost/math/tools/config.hpp:280:27:
error: âm_flagsâ was not declared in this scope
/home/cc/downloads/boost_1_48_0_beta1/include/boost/math/tools/config.hpp:280:36:
error: âFE_ALL_EXCEPTâ was not declared in this scope
/home/cc/downloads/boost_1_48_0_beta1/include/boost/math/tools/config.hpp:280:49:
error: âfesetexceptflagâ was not declared in this scope
}}}
This can be fixed by commenting out lines from 268 to 288. Looks like
preprocessor #if condition on line 264 is incorrect.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6120> 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:07 UTC