[vtk-developers] Overriding member functions warnings with recent versions of clang/LLVM.
Andrew Maclean
andrew.amaclean at gmail.com
Tue May 31 19:44:29 EDT 2016
If you build VTK on OX X El Capitan with LLVM 7.3.0 you will get lots of
these warnings:
-------
warning: 'PrintSelf' overrides a member function but is not marked
'override' [-Winconsistent-missing-override]
virtual void PrintSelf(ostream& os, vtkIndent indent);
-------
To suppress them just add:
-Wno-inconsistent-missing-override to CMAKE_CXX_FLAGS.
Apparently the -Winconsistent-missing-override flag now automatically gets
added with -Wall on recent versions of clang.
Regards
Andrew
--
___________________________________________
Andrew J. P. Maclean
___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20160601/28df73a0/attachment.html>
More information about the vtk-developers
mailing list