Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#6120 closed Bugs (fixed)

Compilation error in math/tools/config.hpp

Reported by: Antony Polukhin Owned by: John Maddock
Milestone: To Be Determined Component: math
Version: Boost Release Branch Severity: Problem
Keywords: fexcept_t FE_ALL_EXCEPT config.hpp Cc:

Description

/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.

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by John Maddock

Resolution: fixed
Status: newclosed

I believe this to be fixed in Trunk, please reopen if not.

comment:2 Changed 6 years ago by Antony Polukhin

Tested it in trunk a few weeks ago and it worked.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain John Maddock.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.