[Insight-developers] Problem with itkTransformFileReader

Andy Cedilnik andy.cedilnik at kitware.com
Fri Apr 1 14:37:23 EST 2005


Hi Again,

Looks like there is some unnecessary code there. The whole IStringStream
thing is duplication from the one from kwsys.

Instead of reimplementing it, maybe kwsys one should be used?

#include <itksys/ios/sstream>
...
//IStringStream parse ( Value );

itksys_ios::istringstream parse( Value );

       Andy

Andy Cedilnik wrote:

>Hi All,
>
>Somebody made a change that prevents ITK from building on Visual Studio
>6. Could
>
>c:\Dashboards\My Tests\Insight\Code\IO\itkTransformFileReader.cxx(34) :
>error C2614: 'IStringStream' : illegal member initialization:
>'istringstream' is not a base or member
>
>Looks like the following change will not work:
>
>IStringStream(std::string &s) : std::istringstream(s) {}
>
>in itkTransformFileReader.cxx
>
>  
>


-- 
Andy Cedilnik
Kitware Inc.



More information about the Insight-developers mailing list