Hello all, I am getting a lot of warnings when using itk with clang compiler.
clang version: 3.5.0 Fedora Linux 22 x86_64 ITK trunk In file included from /home/otbtesting/sources/orfeo/trunk/OTB-Nightly/Modules/Core/SpatialObjects/include/otbLineSpatialObjectList.h:23: In file included from /home/otbtesting/install/itk/trunk/Release/include/ITK-4.9/itkLineSpatialObject.h:23: In file included from /home/otbtesting/install/itk/trunk/Release/include/ITK-4.9/itkPointBasedSpatialObject.h:21: In file included from /home/otbtesting/install/itk/trunk/Release/include/ITK-4.9/itkSpatialObject.h:23: In file included from /home/otbtesting/install/itk/trunk/Release/include/ITK-4.9/itkAffineGeometryFrame.h:23: In file included from /home/otbtesting/install/itk/trunk/Release/include/ITK-4.9/itkScalableAffineTransform.h:21: In file included from /home/otbtesting/install/itk/trunk/Release/include/ITK-4.9/itkAffineTransform.h:21: In file included from /home/otbtesting/install/itk/trunk/Release/include/ITK-4.9/itkMatrixOffsetTransformBase.h:24: In file included from /home/otbtesting/install/itk/trunk/Release/include/ITK-4.9/itkTransform.h:25: In file included from /home/otbtesting/install/itk/trunk/Release/include/ITK-4.9/itkVariableLengthVector.h:1348: /home/otbtesting/install/itk/trunk/Release/include/ITK-4.9/itkVariableLengthVector.hxx:312:3: warning: unknown attribute 'error' ignored [-Wunknown-attributes] itkStaticAssert( ^ /home/otbtesting/install/itk/trunk/Release/include/ITK-4.9/itkStaticAssert.h:40:35: note: expanded from macro 'itkStaticAssert' ({extern int __attribute__((error(str))) StaticAssertFailure(); \ ^ 3 warnings generated. -- Regards, Rashad
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/insight-developers