<div dir="ltr"><div>Thanks for pointing those out David.  I thought I'd gotten all those when I compiled with VTK_LEGACY_REMOVE, but it missed deprecated functions called from other deprecated functions.  That is what is happening there.  The vtkArrayCalculator::SetAttributeModeToXXX() functions are calling vtkArrayCalculator::SetAttributeMode(), which I deprecated in favor of vtkArrayCalculator::SetAttributeType() which has its own variants (vtkArrayCalculator::SetAttributeTypeToXXX().  How do we handle deprecated functions called from deprecated functions?<br><br></div><div>Shawn<br></div><div><br></div>For the curious: the difference is that the old deprecated functions use custom constants declared in vtkArrayCalculator.h and the new functions take vtkDataObject::AttributeTypes constants (plus one custom constant for "default" (-1))  This let me refactor the calculator to use the vtkDataObject::GetAttributes()/GetNumberOfElements() API instead of down-casting each data type to get its data/data length.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 17, 2017 at 11:17 AM, David Cole <span dir="ltr"><<a href="mailto:DLRdave@aol.com" target="_blank">DLRdave@aol.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">These Windows/VS2013 warnings are also related to vtkArrayCalculator:<br>
<br>
<a href="https://open.cdash.org/viewBuildError.php?type=1&buildid=4980673" rel="noreferrer" target="_blank">https://open.cdash.org/<wbr>viewBuildError.php?type=1&<wbr>buildid=4980673</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Mon, Jul 17, 2017 at 10:33 AM, Shawn Waldon <<a href="mailto:shawn.waldon@kitware.com">shawn.waldon@kitware.com</a>> wrote:<br>
> I've already merged a branch that fixes the inconsistent override warnings<br>
> in vtkArrayCalculator.h after Cory pointed them out to me this morning.  My<br>
> branch changed vtkArrayCalculator to be a subclass of<br>
> vtkPassInputTypeAlgorithm so that it can be applied to vtkTables and<br>
> vtkGraphs (for molecules).  So I don't think it is related to the other<br>
> failures.<br>
><br>
> Shawn<br>
><br>
> On Mon, Jul 17, 2017 at 10:25 AM, Ken Martin <<a href="mailto:ken.martin@kitware.com">ken.martin@kitware.com</a>> wrote:<br>
>><br>
>><br>
>> If you have committed to VTK between Thursday and now please take a look.<br>
>> The expected nightlies have a some warnings and test failures introduced<br>
>> since last Thursday.<br>
>><br>
>> <a href="https://open.cdash.org/index.php?project=VTK" rel="noreferrer" target="_blank">https://open.cdash.org/index.<wbr>php?project=VTK</a><br>
>><br>
>><br>
>> --<br>
>> Ken Martin PhD<br>
>> Distinguished Engineer<br>
>> Kitware Inc.<br>
>> 28 Corporate Drive<br>
>> Clifton Park NY 12065<br>
>><br>
>> This communication, including all attachments, contains confidential and<br>
>> legally privileged information, and it is intended only for the use of the<br>
>> addressee.  Access to this email by anyone else is unauthorized. If you are<br>
>> not the intended recipient, any disclosure, copying, distribution or any<br>
>> action taken in reliance on it is prohibited and may be unlawful. If you<br>
>> received this communication in error please notify us immediately and<br>
>> destroy the original message.  Thank you.<br>
>><br>
>> ______________________________<wbr>_________________<br>
>> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
>><br>
>> Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtk-developers</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtk-<wbr>developers</a><br>
>><br>
>><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtk-developers</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtk-<wbr>developers</a><br>
><br>
><br>
</div></div></blockquote></div><br></div>