<p>So, I've solved almost all the problems except for <code>‘digits_base10’ is not a member of ‘boost::math::policies’</code> in <code>boost_backport/detail/polygamma.hpp</code>.</p>

<p>I can't do the same thing for this function (declare it on the top of the file) because I get the error <code>BOOST_MATH_CONSTEXPR does not name a type</code> (the definition of <code>digits_base10</code> specifies that as the return type).</p>

<p>I thought of moving the backported files to the top of my includes so that, if files like boost's <code>policy.hpp</code> are included they will be ignored because of the ifndef shield. That obviously didn't work.</p>

<p>I'm not sure how to fix that (or if there are other bugs after that)</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/mlpack/mlpack/pull/729#issuecomment-234239830">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJ4bFMc3FWpRjq6mc2dPiGTTJxCcqM0xks5qX2cogaJpZM4JQqXp">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFHq7LCBBUalYrZ85hYFjkf5EnSe7ks5qX2cogaJpZM4JQqXp.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/mlpack/mlpack/pull/729#issuecomment-234239830"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>