<div dir="ltr">I don't really know the code, but a quick inspection shows that RemoveTuple(int) throws a vtkerror if you try to remove anything but the last element. I would say the quick fix is to also make RemoveFirstTuple throw a vtkerror that the method isn't implemented.</div>

<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 15, 2014 at 11:44 AM, Sean McBride <span dir="ltr"><<a href="mailto:sean@rogue-research.com" target="_blank">sean@rogue-research.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I updated Rogue7 to (a newer) clang svn trunk, and they've added a new warning that I believe has found a real bug:<br>
<br>
void vtkBitArray::RemoveFirstTuple()<br>
{<br>
  this->RemoveFirstTuple();<br>
  this->DataChanged();<br>
}<br>
<br>
vtkBitArray.cxx:592:1: warning: all paths through this function will call itself [-Winfinite-recursion]<br>
<br>
Sure looks like infinite recursion to me...<br>
<br>
There is no coverage of that function:<br>
<<a href="http://open.cdash.org/viewCoverageFile.php?buildid=3176671&fileid=11422264" target="_blank">http://open.cdash.org/viewCoverageFile.php?buildid=3176671&fileid=11422264</a>><br>
<br>
By analogy with vtkDataArrayTemplate maybe the first line should be:<br>
<br>
  this->RemoveTuple(0);<br>
<br>
Someone know this code?<br>
<br>
Cheers,<br>
<br>
--<br>
____________________________________________________________<br>
Sean McBride, B. Eng                 <a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a><br>
Rogue Research                        <a href="http://www.rogue-research.com" target="_blank">www.rogue-research.com</a><br>
Mac Software Developer              Montréal, Québec, Canada<br>
<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div><br></div>