[Insight-developers] itkIteratorTests won't compile under Linux/gcc

Paul Hughett hughett@mercur.uphs.upenn.edu
Mon, 4 Dec 2000 10:55:34 -0500


 
As of this morning's update from the repository, itkIteratorTests does
not compile successfully under gcc 2.95.2 on Linux.

c++  -g -O2   -I/home/hughett/work/Insight -I/home/hughett/work/Insight/Code/Insight3DParty/vxl -I/home/hughett/work/Insight/Code/Common -I/home/hughett/work/Insight/Code/Insight3DParty/vxl    -c itkIteratorTests.cxx -o itkIteratorTests.o
itkIteratorTests.cxx: In function `int main(...)':
itkIteratorTests.cxx:154: no match for `*itk::ImageRegionSimpleIterator<itk::Image<itk::Scalar<short unsigned int>,3,itk::ValarrayImageContainer<long unsigned int,itk::Scalar<short unsigned int> > > > &'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include/g++/std/fcomplex.h:68: candidates are: class complex<float> operator *(const complex<float> &, float)
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include/g++/std/fcomplex.h:70:                 class complex<float> operator *(float, const complex<float> &)
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include/g++/std/dcomplex.h:68:                 class complex<double> operator *(const complex<double> &, double)
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include/g++/std/dcomplex.h:70:                 class complex<double> operator *(double, const complex<double> &)
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include/g++/std/ldcomplex.h:68:                 class complex<long double> operator *(const complex<long double> &, long double)
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include/g++/std/ldcomplex.h:70:                 class complex<long double> operator *(long double, const complex<long double> &)