[vtk-developers] Obnoxious deprecation warning
Bill Lorensen
bill.lorensen at gmail.com
Sat Sep 2 11:16:13 EDT 2017
Recent changes have caused 100's of warning for the VTKWikiExamples
remote module.
https://open.cdash.org/viewBuildError.php?type=1&buildid=5045383
There has to be a better solution:
In file included from
/home/lorensen/ProjectsGIT/Dashboards/VTK/Rendering/Core/vtkPolyDataMapper.h:30:0,
from
/home/lorensen/ProjectsGIT/Dashboards/VTK/Remote/WikiExamples/src/Cxx/Animation/AnimateActors.cxx:7,
from
/home/lorensen/ProjectsGIT/Dashboards/VTK-WikiExamples/Remote/WikiExamples/src/Cxx/Animation/TestAnimateActors.cxx:2:
/home/lorensen/ProjectsGIT/Dashboards/VTK/Rendering/Core/vtkTexture.h:
In member function 'void vtkTexture::SetColorModeToDefault()':
/home/lorensen/ProjectsGIT/Dashboards/VTK/Rendering/Core/vtkTexture.h:187:48:
warning: 'virtual void vtkTexture::SetColorMode(int)' is deprecated
(declared at /home/lorensen/ProjectsGIT/Dashboards/VTK/Rendering/Core/vtkTexture.h:184)
[-Wdeprecated-declarations]
{ this->SetColorMode(VTK_COLOR_MODE_DEFAULT); }
^
/home/lorensen/ProjectsGIT/Dashboards/VTK/Rendering/Core/vtkTexture.h:
In member function 'void vtkTexture::SetColorModeToMapScalars()':
/home/lorensen/ProjectsGIT/Dashboards/VTK/Rendering/Core/vtkTexture.h:189:52:
warning: 'virtual void vtkTexture::SetColorMode(int)' is deprecated
(declared at /home/lorensen/ProjectsGIT/Dashboards/VTK/Rendering/Core/vtkTexture.h:184)
[-Wdeprecated-declarations]
{ this->SetColorMode(VTK_COLOR_MODE_MAP_SCALARS); }
^
/home/lorensen/ProjectsGIT/Dashboards/VTK/Rendering/Core/vtkTexture.h:
In member function 'void vtkTexture::SetColorModeToDirectScalars()':
/home/lorensen/ProjectsGIT/Dashboards/VTK/Rendering/Core/vtkTexture.h:191:53:
warning: 'virtual void vtkTexture::SetColorMode(int)' is deprecated
(declared at /home/lorensen/ProjectsGIT/Dashboards/VTK/Rendering/Core/vtkTexture.h:184)
[-Wdeprecated-declarations]
{ this->SetColorMode(VTK_COLOR_MODE_DIRECT_SCALARS); }
--
Unpaid intern in BillsBasement at noware dot com
More information about the vtk-developers
mailing list