[Insight-developers] Warnings on AffineTransform

Lorensen, William E (CRD) lorensen@crd.ge.com
Wed, 27 Feb 2002 17:31:15 -0500


Luis,
Getting closer...

The sgi is giving lots of these warnings:

/bin/CC -O -64 -LANG:std -ptused -no_prelink -LANG:std -ptused -no_prelink
-I/home/lorensen/Insight/Testing/Code/Common -I/home/lorensen/Insight-irix65
-I/home/lorensen/Insight/Code/Numerics -I/home/lorensen/Insight/Code/Common
-I/home/lorensen/Insight/Code/IO -I/home/lorensen/Insight-irix65/Code/Numerics/vxl
-I/home/lorensen/Insight/Code/Numerics/vxl -I/home/lorensen/Insight-irix65/Code/Numerics/vxl/vcl
-I/home/lorensen/Insight/Code/Numerics/vxl/vcl -I/home/lorensen/Insight/Utilities/png
-I/home/lorensen/Insight/Utilities/zlib   -c
/home/lorensen/Insight/Testing/Code/Common/itkSmartNeighborhoodIteratorTest.cxx -o
itkSmartNeighborhoodIteratorTest.o
cc-1681 CC: WARNING File = /home/lorensen/Insight/Code/Common/itkAffineTransform.h, Line = 360
  The "const itk::AffineTransform<double, 4U>::JacobianType
          &itk::AffineTransform<double, 4U>::GetJacobian(const
          itk::AffineTransform<double, 4U>::InputPointType &) const" does not
          match "itk::Transform<double, 4U, 4U>::GetJacobian"--is virtual
          function override intended?

    const JacobianType & GetJacobian(const InputPointType  &point ) const;
                         ^
          A template was detected during header processing.
            instantiation of class "itk::AffineTransform<double, 4U>" at line
                      47 of "/home/lorensen/Insight/Code/Common/itkImage.txx"
            instantiation of "itk::Image<itk::Index<4U>, 4U>::Image()"