<div dir="ltr"><div>Hi Andrew,<br><br></div><div>That looks like it is probably a bug in the CMake code for VTK_USE_CXX11_FEATURES.  I added that flag... I'll take a look at it this weekend.<br><br></div><div>Shawn<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 27, 2016 at 1:42 AM, Andrew Maclean <span dir="ltr"><<a href="mailto:andrew.amaclean@gmail.com" target="_blank">andrew.amaclean@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"><div>Has anyone else noticed this issue?</div><div><br></div>Currently when building the master, I am getting many warnings along these lines:<div><div>"warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11</div><div>   void UnRegister(vtkObjectBase* o) VTK_OVERRIDE;"</div><div><br></div><div>It seems VTK_USE_CXX11_FEATURES is not setting the compiler flags for C++11.</div><div>The evidence for this is that I get a clean build when manually adding -std=c++11 to CXXFLAGS.</div><div>Once this is done the only warnings are those about auto_ptr being deprecated.</div><div><br></div><div>I thought the role of VTK_USE_CXX11_FEATURES was to set up the compiler to use c++11 features making it unnecessary to add it in CXXFLAGS.</div><div><br></div><div>I'm building on Ubuntu 16.04, gcc 5.3.1 using the latest master.</div><div><br></div><div>Regards</div><span class="HOEnZb"><font color="#888888"><div>   Andrew</div><div><br>-- </div><div data-smartmail="gmail_signature">___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________</div>
</font></span></div></div>
<br>_______________________________________________<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/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=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/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br></div>