What compiler / platform are you using?<br><br clear="all">
<br><br><div class="gmail_quote">On Mon, May 10, 2010 at 9:53 AM, 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;">
<div bgcolor="#ffffff" text="#000000">
Any ideas on how to do this kind of supression? I'm thinking now I
just need to write a cc/c++ "script" that cmake will find first, that
actually does the filtering. I never could figure out a way to
forcefully indicate the compiler that didn't break things.<div class="im"><br>
<br>
On 05/07/2010 12:47 PM, Chuck Atkins wrote:
</div><div><div></div><div class="h5"><blockquote type="cite">
What exactly do you mean by "filter"? Do you want to suppress the
warnings?<br>
<br>
<br>
<div>On Fri, May 7, 2010 at 1:29 PM, Kevin Burge <span><<a href="mailto:kevin.burge@systemware.com" target="_blank">kevin.burge@systemware.com</a>></span>
wrote:<br>
<blockquote>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>
</blockquote>
</div></div></div>
</blockquote></div><br>