<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<font class="Apple-style-span" face="Tahoma" size="2">This is for anyone who had the same problem as I did when I compiled the VTK librariers using mingw for use with QT. </font><div style="font-family: Tahoma; font-size: 10pt; "><br></div><div><font class="Apple-style-span" face="Tahoma" size="2">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.</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="Apple-style-span" face="Tahoma" size="2">To rectify this I simply modified the "</font><span class="Apple-style-span" style="line-height: 17px; "><font class="Apple-style-span" face="Tahoma" size="2">vtkIOStream.h" file. I changed lines 112 - 116 to the following:</font></span></div><div><font class="Apple-style-span" face="Tahoma" size="2"><span class="Apple-style-span" style="line-height: 17px;"><br></span></font></div><div><span class="Apple-style-span" style="line-height: 17px; "><font class="Apple-style-span" face="Tahoma" size="2"><p class="MsoListParagraphCxSpFirst">#<span style="mso-spacerun:yes">
</span>include <sstream></p>
<p class="MsoListParagraphCxSpMiddle"><o:p> </o:p></p>
<p class="MsoListParagraphCxSpMiddle">using std::ostringstream;</p>
<p class="MsoListParagraphCxSpMiddle">using std::istringstream;</p>
<p class="MsoListParagraphCxSpLast">using std::stringstream;</p><p class="MsoListParagraphCxSpLast"><br></p><p class="MsoListParagraphCxSpLast">and recompiled the libraries.</p><p class="MsoListParagraphCxSpLast"><br></p><p class="MsoListParagraphCxSpLast">I took away all the warnings.</p><p class="MsoListParagraphCxSpLast"><br></p><p class="MsoListParagraphCxSpLast">I hope this helps someone else...</p></font></span></div> </body>
</html>