
I'm trying to do some simple tests with the proposed Boost.Multiprecision, but anything that includes e.g. boost/multiprecision/cpp_int.hpp gives errors like this:
/big_number/boost/multiprecision/mp_number.hpp:1730:11: error: â?~EOFâ?T was not declared in this scope /big_number/boost/multiprecision/rational_adapter.hpp:208:45: error: expected â?~;â?T at end of member declaration /big_number/boost/multiprecision/rational_adapter.hpp:208:47: error: â?~noexceptâ?T does not name a type
My guess is that the EOF error may be a missing include, while the latter two errors may be something that's missing in the relatively old Boost installation on this test machine. Can anyone suggest what I need to do?
I need to #include <iostream> and possibly <cstdio> in my headers, will fix. The rational_adapter.hpp error is very likely because your boost install predates the introduction of BOOST_NO_NOEXCEPT to Boost.Config - try defining that in your program or adding it to boost/config/user.hpp. HTH, John.