[ITK-dev] Problems with Change in itkStaticConstMacro
Bradley Lowekamp
blowekamp at mail.nih.gov
Tue Jan 19 15:19:38 EST 2016
Hello,
My release builds for SimpleITK are having significant problems with the change done here [1] to the itkStaticConstMacro.
My builds on Redhat 5, with gcc 5.1, are filling my disk with errors along the following:
/scratch/dashboards/SimpleITK-RH5-i686-pkg/SimpleITK-build/ITK-prefix/include/ITK-4.9/itkImageToImageFilter.h: In instantiation of ‘const unsigned int itk::ImageToImageFilter<itk::Image<unsigned int, 2u>, itk::Image<float, 2u> >::OutputImageDimension’:
/scratch/dashboards/SimpleITK-RH5-i686-pkg/SimpleITK-build/ITK-prefix/include/ITK-4.9/itkImageToImageFilter.h:267: instantiated from ‘itk::ImageToImageFilter<itk::Image<unsigned int, 2u>, itk::Image<float, 2u> >’
/scratch/dashboards/SimpleITK-RH5-i686-pkg/SimpleITK/Code/Explicit/include/sitkExplicitITKImageToImageFilter.h:259: instantiated from here
/scratch/dashboards/SimpleITK-RH5-i686-pkg/SimpleITK-build/ITK-prefix/include/ITK-4.9/itkImageToImageFilter.h:267: error: explicit instantiation of ‘itk::ImageToImageFilter<itk::Image<unsigned int, 2u>, itk::Image<float, 2u> >::OutputImageDimension’ but no definition available
Reverting the change enables SimpleITK explicit instantiation to work with this compiler.
I’ll look into alternatives...
Brad
[1] https://github.com/InsightSoftwareConsortium/ITK/commit/a5aeef59cbbcb3cb136adbe9d450155ede4c8cac
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-developers/attachments/20160119/a6aac601/attachment.html>
More information about the Insight-developers
mailing list