<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Yes, to suppress them completely from the build output (not just the
warning line, but the "In file......." stuff too). That's what our
ruby scripts do. We use regular expressions to match particular files
that we don't care about.<br>
<br>
On 05/07/2010 12:47 PM, Chuck Atkins wrote:
<blockquote
cite="mid:q2jbbde45121005071047wb8832da9g65ff464cb728387b@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type"
content="text/html; charset=iso-8859-1">
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
moz-do-not-send="true" href="mailto:kevin.burge@systemware.com">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 moz-do-not-send="true" href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a moz-do-not-send="true"
href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a
moz-do-not-send="true" href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a moz-do-not-send="true"
href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote>
</div>
<br>
</blockquote>
</body>
</html>