<div dir="ltr">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.<br></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jun 1, 2015 at 5:43 PM Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">We should announce to both lists to turn on this flag. Do not assume that our customers are not using this code.</p>
<div class="gmail_quote">On Jun 1, 2015 5:05 PM, "Utkarsh Ayachit" <<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>So, the best way to test for deprecated code seems to be to define VTK_LEGACY_REMOVE.<br></div></div></div></div></blockquote><div><br></div><div>Note that VTK_LEGACY_REMOVE is a CMake option that can be turned on when building VTK.</div><div><br></div><div>Utkarsh</div></div></div>
</blockquote></div>
</blockquote></div>