<p>I think that the issue may be a clang issue, but again, I'd rather discuss that in a different issue for the sake of anyone who comes searching later.</p>

<p>As for applying the patch, what you are actually doing there is downloading mlpack master <a href="https://github.com/mlpack/mlpack/commit/73b48dd8d3eb3ecd702a8d9cdb9501a270e1925a" class="commit-link"><tt>73b48dd</tt></a>, which is significantly different from mlpack 1.0.12, and labeling it as mlpack 1.0.12.  What I meant, originally, was that you can use git to generate a patch (something like this):</p>

<pre><code>git create-patch 73b48dd
</code></pre>

<p>and then you can modify that patch until it applies to the mlpack-1.0.12 source.  Then, as a step in the build process, you apply the patch you created (<code>patch -p0 &lt; the_patch.patch</code>), and the test errors are fixed.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/mlpack/mlpack/issues/417#issuecomment-86790121">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFLANw7AiJ8pGoJPVQpHvGcPDa95Uks5n5LdYgaJpZM4DpNFg.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/issues/417#issuecomment-86790121"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>