[Insight-developers] Problem with itkTransformFileReader

Lorensen, William E (Research) lorensen at crd.ge.com
Fri Apr 1 15:00:25 EST 2005


Oh, we did not see the kwsys implementation. Can you fix the reader?

Thanks,

Bill

-----Original Message-----
From: insight-developers-bounces at itk.org
[mailto:insight-developers-bounces at itk.org]On Behalf Of Andy Cedilnik
Sent: Friday, April 01, 2005 2:37 PM
To: Andy Cedilnik
Cc: Insight-developers
Subject: Re: [Insight-developers] Problem with itkTransformFileReader


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.

_______________________________________________
Insight-developers mailing list
Insight-developers at itk.org
http://www.itk.org/mailman/listinfo/insight-developers


More information about the Insight-developers mailing list