<div dir="ltr"><div><div><div><div><div>Hi Rashad,<br><br></div>Thanks for discussing issue.<br><br></div>I have been using that compiler and have not come across those warnings. Are there any non-default flags or CMake options being used?<br><br></div>Could you please submit an Experimental build to the dashboard? ('ctest -D Experimental' from a clean build tree)<br><br></div>Thanks,<br></div>Matt<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 24, 2015 at 10:39 AM, Rashad Kanavath <span dir="ltr"><<a href="mailto:mohammedrashadkm@gmail.com" target="_blank">mohammedrashadkm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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.<span class="HOEnZb"><font color="#888888"><br clear="all"><br>-- <br><div><div><font face="arial, helvetica, sans-serif">Regards,<br> Rashad</font></div></div>
</font></span></div></div></div></div></div></div></div></div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-developers</a><br>
<br>_______________________________________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org">Community@itk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br>
<br></blockquote></div><br></div>