<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><div>   Andrew</div><div><br>-- </div><div class="gmail_signature" data-smartmail="gmail_signature">___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________</div>
</div></div>