[ITK] [ITK-dev] clang throws a lot of -Wunknown-attributes warning.
Rashad Kanavath
mohammedrashadkm at gmail.com
Tue Nov 24 10:39:37 EST 2015
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20151124/5879192f/attachment.html>
-------------- next part --------------
_______________________________________________
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
More information about the Community
mailing list