[vtk-developers] const correctness

Sean McBride sean at rogue-research.com
Wed Feb 9 17:46:39 EST 2011


On Wed, 9 Feb 2011 15:38:55 -0700, tom fogal said:

>> >I have just pushed a new branch, `const-correctness', to my git repo:
>> >
>> >  git://shigeru.sci.utah.edu/vtk.git
>> >
>> >As you might guess, this makes VTK const correct.  Well, mostly.
>> 
>> That would be nice.  There are a few places in my app where
>> -Wcast-qual gives warnings because of VTK missing some consts.  Did
>> you try building with that flag?
>
>I had not, but I enabled it + -Werror and just worked through all the
>issues, force-pushing a new version.  There were some real invalid uses
>in addition to things I had simply missed.

Great.  Same git URL?

>The python wrappers, in particular, casted strings to char* all over
>the place.  I made that into a separate patch.
>
>Other ideas / feedback?  Can I make another appeal for help with
>Tcl/Java? :)

I know nothing about Tcl, nor Java, nor VTK's wrapping system.

Have you confirmed that all tests still pass?

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtk-developers mailing list