Boost C++ Libraries: Ticket #10941: boost/multiprecision/cpp_int/misc.hpp uses boost::math::gcd (and lcm), but does not include common_factor_rt.hpp https://svn.boost.org/trac10/ticket/10941 <p> At line 508: </p> <pre class="wiki"> *result.limbs() = boost::math::gcd(*a.limbs(), *b.limbs()); </pre><p> This is in a template, so MSVC has no problems with it, only g++ and clang++ complain. </p> <p> The reason this was not a problem before was that boost/multiprecision/rational_adaptor.hpp uses Rational, which used to include math/common_factor_rt.hpp, but no longer does. </p> <p> Either math:: should be made integer::, the include added, or both. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10941 Trac 1.4.3 John Maddock Thu, 05 Feb 2015 19:19:06 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10941#comment:1 https://svn.boost.org/trac10/ticket/10941#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> This should be fixed in develop now. </p> Ticket