[vtk-developers] Merging remove VTK 4 compatibility branch on Wednesday

Bill Lorensen bill.lorensen at gmail.com
Thu Mar 8 10:29:49 EST 2012


You can fix this by adding:
 using Superclass::ExecuteData;
to the classes that are overriding ExecuteData. Likewise for AllocateOutputData.


On Thu, Mar 8, 2012 at 9:55 AM, Chris Harris <chris.harris at kitware.com> wrote:
> The two virtual versions of AllocateOutputData(...) in vtkImageAlgorithm are
> also causing errors.
>
> Chris
>
>
> On Thu, Mar 8, 2012 at 9:35 AM, Chris Harris <chris.harris at kitware.com>
> wrote:
>>
>> The two problem case here are:
>>
>> vtkAlgorithm::ExecuteData(vtkDataObject*)’
>> and vtkAlgorithm::ExecuteData(vtkDataObject*, vtkInformation*)
>>
>> vtkAlgorithm::Update(int)’  vtkAlgorithm::Update()
>>
>> I think we need to take another look these to see if we can avoid this
>> hiding.
>>
>> Chris
>>
>>
>> On Wed, Mar 7, 2012 at 3:03 PM, Kyle Lutz <kyle.lutz at kitware.com> wrote:
>>>
>>> On Wed, Mar 7, 2012 at 11:45 AM, Marcus D. Hanwell
>>> <marcus.hanwell at kitware.com> wrote:
>>> > On Mon, Mar 5, 2012 at 2:52 PM, Marcus D. Hanwell
>>> > <marcus.hanwell at kitware.com> wrote:
>>> >> Hi,
>>> >>
>>> >> We think that the remove-vtk-4-compatibility is ready to be merged to
>>> >> master, and plan to make the merge on Wednesday. Berk has described
>>> >> this work previously, and it involves a large number of changes.
>>> >
>>> > This was successfully merged by Brad this morning, right before all
>>> > network access went down in our office (still trying to figure out if
>>> > the two events were related). We are back online now, please let us
>>> > know if you encounter any problems after the merge. You may need to
>>> > rebase any old topics, and ensure you account for the changes
>>> > introduced in this merge to the pipeline and other related areas.
>>> >
>>> > Thanks,
>>> >
>>> > Marcus
>>> > _______________________________________________
>>> > 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:
>>> > http://www.vtk.org/mailman/listinfo/vtk-developers
>>> >
>>>
>>> After pulling from gerrit and re-compiling I started seeing many
>>> overloaded-virtual warnings from GCC (version 4.6.1):
>>>
>>> /home/kyle/VTK/Filtering/vtkAlgorithm.h:379:16: warning: ‘virtual void
>>> vtkAlgorithm::Update(int)’ was hidden [-Woverloaded-virtual]
>>> /home/kyle/VTK/Rendering/vtkPolyDataMapper.h:54:8: warning:   by
>>> ‘virtual void vtkPolyDataMapper::Update()’ [-Woverloaded-virtual]
>>>
>>> The same error is repeated for many (all?) of the classes that inherit
>>> from vtkAlgorithm.
>>>
>>> -kyle
>>
>>
>
>
> _______________________________________________
> 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:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>



-- 
Unpaid intern in BillsBasement at noware dot com



More information about the vtk-developers mailing list