These are really the kind of warnings that you want to disable with a compiler flag but it will be specific for the given compiler. Which platforms do you see the warning on? The error message looks like an xl compiler warning. Do you see it on other platforms as well?<br>
<br>
<br><br><div class="gmail_quote">On Mon, May 10, 2010 at 11:06 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">
My apologies: Solaris (gcc 412), AIX (xlC 9), Windows (MSVC8 - i.e.
Visual Studio 2005 w/ nmake), Linux (several different gcc releases)<div class="im"><br>
<br>
On 05/10/2010 10:04 AM, Chuck Atkins wrote:
</div><div><div></div><div class="h5"><blockquote type="cite">
What compiler / platform are you using?<br>
<br>
<br>
<br>
<div>On Mon, May 10, 2010 at 9:53 AM, Kevin Burge <span><<a href="mailto:kevin.burge@systemware.com" target="_blank">kevin.burge@systemware.com</a>></span>
wrote:<br>
<blockquote>
<div>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><br>
<br>
On 05/07/2010 12:47 PM, Chuck Atkins wrote:
</div>
<div>
<div>
<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>
</blockquote>
</div></div></div>
</blockquote></div><br>