[vtk-developers] vtkBitArray.cxx:592:1: warning: all paths through this function will call itself [-Winfinite-recursion]
bill.lorensen at gmail.com
Wed Jan 15 11:53:34 EST 2014
Definitely a bug. Your fix is correct. Should have a test.
On Wed, Jan 15, 2014 at 11:44 AM, Sean McBride <sean at rogue-research.com> wrote:
> Hi all,
> I updated Rogue7 to (a newer) clang svn trunk, and they've added a new warning that I believe has found a real bug:
> void vtkBitArray::RemoveFirstTuple()
> vtkBitArray.cxx:592:1: warning: all paths through this function will call itself [-Winfinite-recursion]
> Sure looks like infinite recursion to me...
> There is no coverage of that function:
> By analogy with vtkDataArrayTemplate maybe the first line should be:
> Someone know this code?
> Sean McBride, B. Eng sean at rogue-research.com
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
> Powered by www.kitware.com
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> Follow this link to subscribe/unsubscribe:
Unpaid intern in BillsBasement at noware dot com
More information about the vtk-developers