[vtk-developers] clean-up VTK_LEGACY code
Dan Lipsa
dan.lipsa at kitware.com
Thu Jun 4 11:03:25 EDT 2015
I sent an email to the VTK users list. It would be nice to make it more
obvious when people are using deprecated code, for instance using #warning
preprocessor option. Right now users get run-time messages and possible no
message at all if code is only excluded using VTK_LEGACY_REMOVE. They have
to recompile their code using VTK_LEGACY_REMOVE cmake option to see that
they use deprecated code.
On Mon, Jun 1, 2015 at 5:43 PM Bill Lorensen <bill.lorensen at gmail.com>
wrote:
> We should announce to both lists to turn on this flag. Do not assume that
> our customers are not using this code.
> On Jun 1, 2015 5:05 PM, "Utkarsh Ayachit" <utkarsh.ayachit at kitware.com>
> wrote:
>
>> So, the best way to test for deprecated code seems to be to
>>> define VTK_LEGACY_REMOVE.
>>>
>>
>> Note that VTK_LEGACY_REMOVE is a CMake option that can be turned on when
>> building VTK.
>>
>> Utkarsh
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20150604/1ad87273/attachment.html>
More information about the vtk-developers
mailing list