That's a very good question. Sounds like maybe there's a bug in the commit-check script when a brand new file is added, but then it gets caught when a subsequent commit occurs...?<br><br>Jeff, can you replace these dynamic_cast occurrences with SafeDownCast usage instead? Or is it necessary to rethink this policy and discontinue support for platforms that do not have dynamic_cast enabled by default...?
<br><br><br>Thanks,<br>David Cole<br><br><br><div><span class="gmail_quote">On 9/5/07, <b class="gmail_sendername">Dean Inglis</b> <<a href="mailto:dean.inglis@sympatico.ca">dean.inglis@sympatico.ca</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I was trying to head off a red dashboard(s)<br>for Borland with vtkConvertSelection.cxx
<br>by adding a missing include:<br>#include <vtksys/stl/iterator><br>but when I went to cvs commit the change<br>I get<br>==========================================================<br>vtkConvertSelection.cxx uses dynamic_cast.
<br>dynamic_cast usage is not allowed in VTK.<br>Please use SafeDownCast or some other mechanism instead.<br>==========================================================<br><br>Not sure how others got these two files<br>committed then ???:
<br>Graphics\vtkConvertSelection.cxx<br>IO\vtkSQLiteQuery.cxx<br><br><br>Dean<br>_______________________________________________<br>vtk-developers mailing list<br><a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org
</a><br><a href="http://www.vtk.org/mailman/listinfo/vtk-developers">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br></blockquote></div><br>