<div dir="ltr"><div><div><div><div>Hello all,<br><br></div>I am getting a lot of warnings when using itk with clang compiler.<br><br></div>clang version: 3.5.0<br></div>Fedora Linux 22 x86_64<br></div>ITK trunk<br><div><div><div><div><div><div><div><div><br>In file included from /home/otbtesting/sources/orfeo/trunk/OTB-Nightly/Modules/Core/SpatialObjects/include/otbLineSpatialObjectList.h:23:<br>In file included from /home/otbtesting/install/itk/trunk/Release/include/ITK-4.9/itkLineSpatialObject.h:23:<br>In file included from /home/otbtesting/install/itk/trunk/Release/include/ITK-4.9/itkPointBasedSpatialObject.h:21:<br>In file included from /home/otbtesting/install/itk/trunk/Release/include/ITK-4.9/itkSpatialObject.h:23:<br>In file included from /home/otbtesting/install/itk/trunk/Release/include/ITK-4.9/itkAffineGeometryFrame.h:23:<br>In file included from /home/otbtesting/install/itk/trunk/Release/include/ITK-4.9/itkScalableAffineTransform.h:21:<br>In file included from /home/otbtesting/install/itk/trunk/Release/include/ITK-4.9/itkAffineTransform.h:21:<br>In file included from /home/otbtesting/install/itk/trunk/Release/include/ITK-4.9/itkMatrixOffsetTransformBase.h:24:<br>In file included from /home/otbtesting/install/itk/trunk/Release/include/ITK-4.9/itkTransform.h:25:<br>In file included from /home/otbtesting/install/itk/trunk/Release/include/ITK-4.9/itkVariableLengthVector.h:1348:<br>/home/otbtesting/install/itk/trunk/Release/include/ITK-4.9/itkVariableLengthVector.hxx:312:3: warning: unknown attribute 'error' ignored [-Wunknown-attributes]<br>  itkStaticAssert(<br>  ^<br>/home/otbtesting/install/itk/trunk/Release/include/ITK-4.9/itkStaticAssert.h:40:35: note: expanded from macro 'itkStaticAssert'<br>      ({extern int __attribute__((error(str))) StaticAssertFailure(); \<br>                                  ^<br>3 warnings generated.<br clear="all"><br>-- <br><div class="gmail_signature"><div><font face="arial, helvetica, sans-serif">Regards,<br>   Rashad</font></div></div>
</div></div></div></div></div></div></div></div></div>