It's always best to eliminate warnings at their source. (If you don't, they'll eventually come back again later...)<br><br>For "3rd party" warnings in VTK, it's probably best to update to a newer version of that code base if there's one that eliminates those warnings and is stable enough for general use. Making that assessment is usually the hard part, especially given the wide variety of platforms/compilers VTK covers.
<br><br>If warnings can't be eliminated like that, consider eliminating them in VTK's copy of the source. Then nobody has to see them anymore, but they might come back later if we do update to a newer version of that lib.
<br><br>Lastly, warnings can be masked out of dashboard results, via VTK/CMake/CTestCustom.ctest.in, but we try to do that only when there's no other option. Because even if you mask them out like that, folks building interactively are still going to see those warnings.
<br><br>Helpful? I hope...<br>David<br><br><div><span class="gmail_quote">On 1/26/07, <b class="gmail_sendername">Sean McBride</b> <<a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 2007-01-26 06:30, David Cole said:<br><br>>Turns out that the test you're having a problem with is dependent on
<br>>VTK_USE_INFOVIS being ON, but the test was added unconditionally in the<br>>CMakeLists file...<br>><br>>I just committed the fix, along with a "missing Tk libraries on the link<br>>line when VTK_USE_RENDERING is OFF" issue that I accidentally discovered
<br>>while investigating.<br>><br>>/cvsroot/VTK/VTK/IO/Testing/Cxx/CMakeLists.txt,v <-- CMakeLists.txt<br>>new revision: 1.26; previous revision: 1.25<br>>/cvsroot/VTK/VTK/Wrapping/Tcl/CMakeLists.txt,v <--
CMakeLists.txt<br>>new revision: 1.66; previous revision: 1.65<br>><br>>Update from CVS and try again with your same settings. It should work now.<br><br>You rock David! It works. And 100% of the tests pass. Of course,
<br>there are only 39 tests in such a limited build of vtk. :) Still, it is<br>impressive. I will set up a dashboard for this config.<br><br>There are some compiler warnings in some 3rd party code (libtiff,<br>freetype, etc.). What is kitware's policy here? Better to fix the
<br>warnings upstream and update vtk to the newest code, or fix the warnings<br>in vtk's copy and have a fork of the code? or...?<br><br>--<br>____________________________________________________________<br>Sean McBride, B. Eng
<a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a><br>Rogue Research <a href="http://www.rogue-research.com">www.rogue-research.com</a><br>Mac Software Developer Montréal, Québec, Canada
<br><br><br></blockquote></div><br>