[Insight-developers] itkFactoryTestLib.cxx & Visual Studio 6.0

Tom Vercauteren tom.vercauteren at m4x.org
Thu Apr 2 13:35:33 EDT 2009


Hey Luis,

It seems that this is a known msvc 6.0 bug. See chapter 11 of
http://www.acceleratedcpp.com/details/msbugs.html

I'll try with adding a dummy second argument (null pointer). I hope it
won't make other platforms fail...
http://www.itk.org/cgi-bin/viewcvs.cgi/Testing/Code/Common/itkFactoryTestLib.cxx?root=Insight&r1=1.5&r2=1.6&sortby=date

Tom

On Thu, Apr 2, 2009 at 18:42, Luis Ibanez <luis.ibanez at kitware.com> wrote:
>
> Hi Tom,
>
> It seems that Visual Studio 6.0 has difficulty
> with the changes in itkFactoryTestLib.cxx:
>
> http://www.cdash.org/CDash/viewBuildError.php?buildid=304766
>
>
> Compiling...
> itkFactoryTestLib.cxx
>
> c:\Dashboards\My
> Tests\InsightContinuous\Testing\Code\Common\itkFactoryTestLib.cxx(68) :
> error C2660: 'allocate' : function does not take 1 parameters
>
>        c:\Dashboards\My
> Tests\InsightContinuous\Testing\Code\Common\itkFactoryTestLib.cxx(59) :
> while compiling class-template member function 'short *__thiscall
> TestImportImageContainer<unsigned long,short>::AllocateElements(unsigned
> long) const'
>
>
>  Any suggestions ?
>
>
>     Thanks
>
>
>         Luis
>
>
>


More information about the Insight-developers mailing list