[vtkusers] Deprecated headers with GCC in QT using VTK
Jeremy B
vtkuser at hotmail.com
Wed Jan 19 14:16:40 EST 2011
This is for anyone who had the same problem as I did when I compiled the VTK librariers using mingw for use with QT.
Every time I include a VTK library into my project I would get a warning from the compiler stating I was using a deprecated header.
To rectify this I simply modified the "vtkIOStream.h" file. I changed lines 112 - 116 to the following:
#
include <sstream>
using std::ostringstream;
using std::istringstream;
using std::stringstream;
and recompiled the libraries.
I took away all the warnings.
I hope this helps someone else...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110119/eb88990a/attachment.htm>
More information about the vtkusers
mailing list