I'll fix the problems with vtkCellTreeLocator and vtkKdTree if no one else has done that yet.<br><br>Andy<br><br><div class="gmail_quote">On Fri, Mar 30, 2012 at 5:16 PM, Sean McBride <span dir="ltr"><<a href="mailto:sean@rogue-research.com">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">On Mon, 19 Mar 2012 19:13:09 -0400, Sean McBride said:<br>
<br>
>So I tried to build VTK as C++11 with clang by passing the -std=c++11<br>
>flag. There are a few dozen compiler errors, almost all of the same<br>
>kind, ex:<br>
<br>
With David Gobbi's help, I have fixed most of the compiler errors when building VTK as C++11, but a few remain, which currently appear as warnings here:<br>
<br>
<<a href="http://open.cdash.org/viewBuildError.php?type=1&buildid=2139702" target="_blank">http://open.cdash.org/viewBuildError.php?type=1&buildid=2139702</a>><br>
<br>
They could be fixed by blindly casting, but a better solution may be to change some of these floats to doubles. I'm not sure if these are deliberately float, or left over and never changed from the big float->double changes long ago. Currently, there's a bunch of double->float->double conversions. Changing said floats to doubles would require changing public API.<br>
<br>
The classes in question are: vtkCellTreeLocator, vtkKdTree, vtkContext2D, AreaLayout and AreaRepresentation classes.<br>
<br>
Could someone in the know take a looksie, or shall I just cast everything?<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>