On 05/02/2016 08:45, Claas H. Koehler wrote:
Hi,
I encountered a compiler error using gcc-5.0 with the math constants in boost 1.60.0 due to a different exception specification of math::tools::digits():
The prototype defined in math/tools/precision.hpp has a BOOST_NOEXCEPT specifier, while the implementation in math/bindings/mpfr.hpp does not have the respective specification.
Adding BOOST_NOEXCEPT in math/bindings/mpfr.hpp solves the problem, i.e. compilation succeeds. I was wondering whether this is a bug or whether the error can be circumvented in another way.
Looks like I've broken mpfr_class support (use of mpfr+Boost.Multiprecision works just fine though). Fixed in https://github.com/boostorg/math/commit/7cecd8ddf4ac817f0e08a0853c43fc31bc49... HTH, John.