[Insight-developers] New Statistics and VS6

Bill Lorensen bill.lorensen at gmail.com
Fri May 22 09:01:25 EDT 2009


That will fix all of those types of errors. Now I'm onto some other
ones. May not get to them until tonight...

On Fri, May 22, 2009 at 8:48 AM, Wes Turner <wes.turner at kitware.com> wrote:
> Excellent.  Can I assume that will fix the following error on dash13, or do
> I need to investigate this separately?
> - Wes
>
> itkSobelEdgeDetectionImageFilterTest.cxx
> itkSmoothingRecursiveGaussianImageFilterTest.cxx
> itkSparseFieldFourthOrderLevelSetImageFilterTest.cxx
> itkSparseFieldLayerTest.cxx
> itkSpatialObjectToImageFilterTest.cxx
> itkSpatialObjectToImageStatisticsCalculatorTest.cxx
>
> C:\Dashboards\My Tests\Insight\Code\Review\Statistics\itkListSample.h(252) :
> error C2248: 'ConstIterator::ConstIterator' : cannot access protected member
> declared in class 'itk::Statistics::ListSample<class itk::Vector<double,1>
>>::ConstIterator'
>
>         C:\Dashboards\My
> Tests\Insight\Code\Review\Statistics\itkListSample.h(177) : see declaration
> of 'ConstIterator::ConstIterator'
>         C:\Dashboards\My
> Tests\Insight\Code\Review\Statistics\itkListSample.h(251) : while compiling
> class-template member function 'class itk::Statistics::ListSample<class
> itk::Vector<double,1> >::ConstIterator __thiscall
> itk::Statistics::ListSample<class itk::Vector<double,1> >::Begin(void)
> const'
> itkSpatialObjectToPointSetFilterTest.cxx
> itkSpatialFunctionImageEvaluatorFilterTest.cxx
> itkSqrtImageFilterAndAdaptorTest.cxx
> itkSquareImageFilterTest.cxx
>
> On Fri, May 22, 2009 at 8:32 AM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
>>
>> I found a workaround for the VS6 compiler errors. I'll be checking
>> them in soon assuming I don't find other issues.
>>
>> VS6 was having trouble with the Iterators of some classes being
>> protected. For VS6 only, I have removed the protected status of these
>> iterators. This is no worse than what was done in the old statistics
>> where non of the iterators were protected.
>>
>> Bill
>
>
>
> --
> Wesley D. Turner, Ph.D.
> Kitware, Inc.
> R&D Engineer
> 28 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-371-3971 x120
>


More information about the Insight-developers mailing list