[Insight-developers] CTestCustom.cmake warning suppression

David Cole david.cole at kitware.com
Tue Sep 13 17:07:45 EDT 2011


Still not sure what's going on here. I cannot reproduce the issue on
my own Mac with ctest 2.8.5 driving the script... I can successfully
suppress warnings.

I'll keep poking...


On Tue, Sep 13, 2011 at 4:03 PM, David Cole <david.cole at kitware.com> wrote:
> A similar thing is happening on this CMake dashboard:
>
>  http://cdash.org/CDash/viewBuildError.php?type=1&buildid=1525478
>
> The thing they both have in common is that they're driven by ctest
> 2.8.5 -- I wonder if there's a bug in the warning suppression code
> that appeared in 2.8.5...?
>
> I'll try running the CMake dashboard with ctest 2.8.4 and with ctest
> 2.8.6-rc3 and see what I get...
>
>
>
> On Tue, Sep 13, 2011 at 3:55 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>> CTest Gurus,
>>
>> We need some help suppressing warnings in itk.
>>
>> For example, we currently see these warnings:
>> http://www.cdash.org/CDash/viewBuildError.php?type=1&buildid=1524571
>>
>> even though we thought we were suppressing them:
>> SET(CTEST_CUSTOM_WARNING_EXCEPTION
>>   ${CTEST_CUSTOM_WARNING_EXCEPTION}
>>   "warning LNK4221.*no public symbols found"
>>   "ranlib:.*file:.*has no symbols"
>>   "ranlib: file: .+ has no symbols"
>>   "libtool:.*file:.*has no symbols"
>>   "ipo: warning #11053"
>>   "ipo: warning #11053"
>>   "vxl.core.vnl.algo"
>>   "vxl.core.vnl"
>>   "vxl.v3p.netlib"
>>   "itkjpeg"
>>   "usr.include.stdint.h"
>>   "Warning itk::Statistics::Histogram"
>>   "itkIOCommonTest.cxx:.*warning:.* is deprecated"
>>   "/usr/bin/ld: warning: libnetcdf.so.3, needed by.*may conflict with
>> libnetcdf.so.4"
>>   "itkQuadEdgeMeshEdgeMergeDecimationFilter.hxx:.*warning: unused
>> parameter.*iEdge.*"
>>   "vnl_diag_matrix.h"
>>   "WARNING non-zero return value in ctest"
>>   "Warning.*Anachronism.*"
>>   "attempted multiple inclusion of file"
>>   "warning LNK4221: This object file does not define any previously
>> undefined public symbols"
>>
>> ".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Dd][Ii][Cc][Oo][Mm][Pp]arser[/\\\\].*[Ww]arning.*"
>>
>> ".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Ee]xpat[/\\\\].*[Ww]arning.*"
>>
>> ".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Jj][Pp][Ee][Gg][/\\\\].*[Ww]arning.*"
>>
>> ".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Kk][Ww][Ss]ys[/\\\\].*[Ww]arning.*"
>>
>> ".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Mm]eta[Ii][Oo][/\\\\].*[Ww]arning.*"
>>
>> ".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Nn]etlib[/\\\\].*[Ww]arning.*"
>>
>> ".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Nn][Ii][Ff][Tt][Ii][/\\\\].*[Ww]arning.*"
>>
>> ".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Nn]rrd[Ii][Oo][/\\\\].*[Ww]arning.*"
>>
>> ".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Oo]pen[Jj][Pp][Ee][Gg][/\\\\].*[Ww]arning.*"
>>
>> ".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Pp][Nn][Gg][/\\\\].*[Ww]arning.*"
>>
>> ".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Tt][Ii][Ff][Ff][/\\\\].*[Ww]arning.*"
>>
>> ".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Vv][Nn][Ll][/\\\\].*[Ww]arning.*"
>>
>> ".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Vv][Nn][Ll][Ii]nstantiation[/\\\\].*[Ww]arning.*"
>>
>> ".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Zz][Ll][Ii][Bb][/\\\\].*[Ww]arning.*"
>>   ".*Microsoft.*include.*win.*.h.*[Ww]arning.*"
>>   )
>>
>>
>>
>> _______________________________________________
>> 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.html
>>
>> 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://www.itk.org/mailman/listinfo/insight-developers
>>
>>
>


More information about the Insight-developers mailing list