<div dir="ltr">Bill please coordinate with David Cole who is responsible for patching 5.2, he'll help you out.<br>W<br><br><div class="gmail_quote">On Wed, Sep 10, 2008 at 12:30 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Kent,<br>
<br>
I have made changes to Wrapping/vtkWrapTcl.cxx and<br>
Wrapping/WrapTclInit.cxx that remove these warnings. I don't have a<br>
vtk HEAD checkout right now. I'm working with the VTK 5.2 version. I<br>
can't check in my changes to that revision. If you like, I'll send you<br>
the two files and you can see if they resolve those warnings.<br>
<br>
After that, I'll see what it will take to get these into vtk.<br>
<font color="#888888"><br>
Bill<br>
</font><div><div></div><div class="Wj3C7c"><br>
<br>
On Wed, Sep 10, 2008 at 11:15 AM, kent williams<br>
<<a href="mailto:nkwmailinglists@gmail.com">nkwmailinglists@gmail.com</a>> wrote:<br>
> I am not a VTK developer myself or I might try and track this down and<br>
> fix it. Anyway:<br>
><br>
> The VTK tcl wrapper uses casts to char * all over the places such that<br>
> our builds have a ton of warnings like this:<br>
><br>
> .../vtkKWMyRenderWidgetTcl.cxx:71: warning: cast from `const char*' to<br>
> `char*' discards qualifiers from pointer target type<br>
><br>
> Now I realize this happens because Tcl isn't const-correct, so there<br>
> are places where you know it's safe to pass Tcl a const char *.<br>
><br>
> But since we're in the world of C++, it would be great  if const_cast<br>
> was used instead of C-style cast.  This would tell the compiler to<br>
> STFU in those many cases where the Tcl API is being a stupidhead.<br>
><br>
> Since Dash and CDash both limit the number of warnings they report,<br>
> having extraneous warnings can push warnings we should care about off<br>
> of the dashboard, which is a bad thing.<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" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
><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" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>William J. Schroeder, PhD<br>Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a><br>
<a href="http://www.kitware.com">http://www.kitware.com</a><br>518-371-3971 (phone and fax)<br>
</div>