[vtkusers] Deprecated header usage
Gib Bogle
g.bogle at auckland.ac.nz
Sun Sep 5 20:38:38 EDT 2010
Building a program that uses VTK, I got this warning from gcc:
In file included from
c:\mingw-4.4\bin\../lib/gcc/mingw32/4.4.0/include/c++/backward/strstream:46,
from ..\..\..\VTK-src\common/vtkIOStream.h:112,
from ..\..\..\VTK-src\common/vtkSystemIncludes.h:40,
from ..\..\..\VTK-src\common/vtkIndent.h:24,
from ..\..\..\VTK-src\common/vtkObjectBase.h:43,
from ..\..\..\VTK-src\common/vtkObject.h:41,
from ..\..\..\VTK-src\rendering/vtkRenderWindowInteractor.h:44,
from ..\..\..\VTK-src\GUISupport\Qt/QVTKWidget.h:45,
from ..\ABM_GUI\/myvtk.h:8,
from ..\ABM_GUI\/mainwindow.h:20,
from ..\ABM_GUI\main.cpp:7:
c:\mingw-4.4\bin\../lib/gcc/mingw32/4.4.0/include/c++/backward/backward_warning.h:28:2:
warning: #warning This file includes at least one deprecated or antiquated
header which may be removed without further notice at a future date. Please use
a non-deprecated interface with equivalent functionality instead. For a listing
of replacement headers and interfaces, consult the file backward_warning.h. To
disable this warning use -Wno-deprecated.
I realize that isn't currently an issue. Should I just ignore it, and use
-Wno-deprecated?
Thanks
Gib
More information about the vtkusers
mailing list