[Insight-users] ITK Build with Warning level 4

Branislav Goga brano.goga at centrum.sk
Wed Apr 23 03:10:03 EDT 2008


I`m using ITK 3.4 now, VS 7.1 - 2003. There is a lot of warnings of different
type in different files, some of them in vnl includes, some of them in itk
includes. In fact I`m not sure if there is some will to support warning
level 4 in ITK. I`ve never seen promise like this in documentation.

Some examples - 

INSIGHTTOOLKIT-3.4.0\Utilities\vxl\core\vnl\algo\vnl_svd.h(188): warning
C4121: 'vnl_svd<T>' : alignment of a member was sensitive to packing
        with
        [
            T=double
        ]

INSIGHTTOOLKIT-3.4.0\Utilities\vxl\core\vnl\vnl_matrix.h(178): warning
C4127: conditional expression is constant

INSIGHTTOOLKIT-3.4.0\Code\Common\itkNumericTraits.h(144): warning C4310:
cast truncates constant value

INSIGHTTOOLKIT-3.4.0\Code\Common\itkNeighborhoodIterator.h(256): warning
C4505: 'itk::NeighborhoodIterator<TImage>::PrintSelf' : unreferenced local
function has been removed
        with
        [
           
TImage=itk::NeighborhoodOperatorImageFilter<itk::DiscreteGaussianImageFilter<itk::MultiResolutionImageRegistrationMethod<tatramed::registration::CImageWrapper::ImageType,tatramed::registration::CImageWrapper::ImageType>::FixedImageType,itk::MultiResolutionImageRegistrationMethod<tatramed::registration::CImageWrapper::ImageType,tatramed::registration::CImageWrapper::ImageType>::FixedImageType>::InputImageType,RealOutputImageType,RealOutputPixelType>::InputImageType
        ]

INSIGHTTOOLKIT-3.4.0\Code\Common\itkMersenneTwisterRandomVariateGenerator.h(243):
warning C4511: 'itk::Statistics::MersenneTwisterRandomVariateGenerator' :
copy constructor could not be generated

NSIGHTTOOLKIT-3.4.0\Utilities\vxl\core\vnl\vnl_transpose.h(74): warning
C4512: 'vnl_transpose' : assignment operator could not be generated

-- 
View this message in context: http://www.nabble.com/ITK-Build-with-Warning-level-4-tp16825378p16832733.html
Sent from the ITK - Users mailing list archive at Nabble.com.



More information about the Insight-users mailing list