<div dir="ltr">I don't fully follow this conversation but I wanted to remind folks that we will require C++ 11 support at the end of this year (or beginning of 2017). Given that we are only a few months from that, I wouldn't spend too much energy in fixing warnings on platforms we will stop supporting soon.<div><br></div><div>Best,</div><div>-berk</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 1, 2016 at 1:18 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi David,<div><br></div><div>You've been playing around with the "extern template" stuff for longer than I have, so I'm wondering if you can share some experience.</div><div><br></div><div>It seems that restricting "extern template" to MSVC 2015 and up would reduce or eliminate the need for "#pragma warning".  Would it be a bad thing if we stopped using "extern template" with MSVC 2008, 2010, etc?  The reason that I ask is that, as I expand the use of "extern template" to other parts of VTK, I don't want to have to add "#pragma warning" every time.</div><div><br></div><div>For clang and gcc, I was only planning to use "extern template" when -std=c++11 because otherwise clang generates a warning about this being a "c++11 feature".</div><div><br></div><div>On the other hand I could bite the bullet and also use "extern template" for pre-c++11 builds, and insert pragmas into a whole bunch of source files (probably 20 or so) to silence the warnings.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div> - David</div></font></span></div>
<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 <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></blockquote></div><br></div>