What exactly do you mean by "filter"? Do you want to suppress the warnings?<br><br><br><div class="gmail_quote">On Fri, May 7, 2010 at 1:29 PM, Kevin Burge <span dir="ltr"><<a href="mailto:kevin.burge@systemware.com">kevin.burge@systemware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I need to be able to filter warnings out of the compilation output from specific files:<br>
<br>
"/usr/include/pthread.h", line 990.27: 1506-450 (I) Obsolete non-prototype-style function declaration.<br>
"/usr/include/pthread.h", line 1049.42: 1506-450 (I) Obsolete non-prototype-style function declaration.<br>
"/usr/include/pthread.h", line 1050.42: 1506-450 (I) Obsolete non-prototype-style function declaration<br>
<br>
On our old build system, we replaced cc with a ruby script that filtered the output. I never did figure out the way to do this with cmake. I'd rather have cmake filter it if it can.<br>
<br>
Please let me know if there's a way to do this.<br>
<br>
Thank you,<br>
Kevin Burge<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br>