tcpdump mailing list archives

Re: compiler warnings on AIX and Solaris


From: Denis Ovsienko via tcpdump-workers <tcpdump-workers () lists tcpdump org>
Date: Sun, 25 Jul 2021 13:14:18 +0100

--- Begin Message --- From: Denis Ovsienko <denis () ovsienko info>
Date: Sun, 25 Jul 2021 13:14:18 +0100
On Sat, 24 Jul 2021 10:55:19 -0700
Guy Harris <gharris () sonic net> wrote:

[...]

If there's a way to force XL C to treat it as a hard error, we need
to update the AC_LBL_CHECK_UNKNOWN_WARNING_OPTION_ERROR autoconf
macro to set the compiler up to use it when testing whether compiler
options are supported.

If there *isn't* a way to do that, the configure-script test also
needs to scan the standard error of the compilation and look for the
warning, and treat that as an indication of lack of support as well.
(I think the equivalent test provided as part of CMake may already do
that.)

The current master branch produces a much cleaner output for "make -s"
with XL C, thank you!

-- 
    Denis Ovsienko

--- End Message ---
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Current thread: