[Insight-developers] CTestCustom.cmake warning suppression

Sean McBride sean at rogue-research.com
Thu Sep 15 13:55:59 EDT 2011


On Tue, 13 Sep 2011 17:28:40 -0400, David Cole said:

>There was a missing "@ONLY" in the configure_file call, which caused
>code like this to appear at the very bottom of CTestCustom.cmake in
>the build tree, which causes this problem on Macs only:
>
>IF(APPLE)
>SET(CTEST_CUSTOM_WARNING_EXCEPTION
>
>  "warning -.: directory name .* does not exist"
>  "ld.*warning.*duplicate dylib.*"
>  )
>ENDIF(APPLE)
>
>That code would effectively replace all the other warning suppressions
>defined in the unconditional block above it. Since the @ONLY was
>missing, the ${CTEST_CUSTOM_WARNING_EXCEPTION} that's supposed to be
>on the blank line above is just not there...
>
>This patch set in gerrit should fix this problem:
>
>  http://review.source.kitware.com/#change,2773

So should today's dashboard have this warning?:

ITK/Modules/ThirdParty/MetaIO/src/MetaIO/metaTube.cxx:526:28: warning: cast from 'char *' to 'float *' increases required alignment from 1 to 4 [-Wcast-align]

From the regex you showed, it appears that MetaIO warnings should be suppressed, no?

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the Insight-developers mailing list