[Insight-developers] intel 6.0 warnings
Aljaz Noe
noe@grasp.cis.upenn.edu
Fri, 13 Sep 2002 14:17:30 -0400
Hi!
Here's a list of (parial) compiler warnings produced when compiling the
ITK on Intel C++ 6.0 compiler:
============================================
...
itkVersorTransformOptimizer.cxx
C:\User\noe\dev\C\Insight\Code\Common\itkVector.h(170): warning #147:
declaration is incompatible with constant "unsigned long VLength"
(declared at line 347 of
"C:\User\noe\dev\C\Insight\Code\Common\itkFixedArray.h")
template< class T, unsigned int NVectorDimension >
^
C:\User\noe\dev\C\Insight\Code\Common\itkPoint.h(215): warning #147:
declaration is incompatible with constant "unsigned long VLength"
(declared at line 347 of
"C:\User\noe\dev\C\Insight\Code\Common\itkFixedArray.h")
template< class T, unsigned int NPointDimension >
^
C:\User\noe\dev\C\Insight\Code\Common\itkMatrix.h(123): warning #147:
declaration is incompatible with constant "unsigned long VLength"
(declared at line 347 of
"C:\User\noe\dev\C\Insight\Code\Common\itkFixedArray.h")
template< class T, unsigned int NRows, unsigned int NColumns >
^
...
FEMTruss.cxx
C:\User\noe\dev\C\Insight\Code\Common\itkVector.h(170): warning #147:
declaration is incompatible with constant "unsigned long VLength"
(declared at line 347 of
"C:\User\noe\dev\C\Insight\Code\Common\itkFixedArray.h")
template< class T, unsigned int NVectorDimension >
^
C:\User\noe\dev\C\Insight\Code\Common\itkPoint.h(215): warning #147:
declaration is incompatible with constant "unsigned long VLength"
(declared at line 347 of
"C:\User\noe\dev\C\Insight\Code\Common\itkFixedArray.h")
template< class T, unsigned int NPointDimension >
^
C:\User\noe\dev\C\Insight\Code\Common\itkMatrix.h(123): warning #147:
declaration is incompatible with constant "unsigned long VLength"
(declared at line 347 of
"C:\User\noe\dev\C\Insight\Code\Common\itkFixedArray.h")
template< class T, unsigned int NRows, unsigned int NColumns >
^
C:\User\noe\dev\C\Insight\Code\Common\itkNeighborhood.h(227): warning
#147: declaration is incompatible with constant "unsigned long VLength"
(declared at line 347 of
"C:\User\noe\dev\C\Insight\Code\Common\itkFixedArray.h")
template <class TPixel, unsigned int VDimension, class TContainer>
^
...
============================================
Looks like the compiler doesn't like to mix "long" and "int" types.
Aljaz