[Insight-developers] CTestCustom.cmake warning suppression
Bill Lorensen
bill.lorensen at gmail.com
Thu Sep 15 14:50:43 EDT 2011
I don't see where we are suppressing that warning in TestCustom.cmake
On Thu, Sep 15, 2011 at 1:55 PM, Sean McBride <sean at rogue-research.com>wrote:
> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110915/ed31110f/attachment.htm>
More information about the Insight-developers
mailing list