]> The Tcpdump Group git mirrors - tcpdump/commit
Make illumos build warning-free. [skip appveyor]
authorDenis Ovsienko <[email protected]>
Tue, 27 Feb 2024 18:33:24 +0000 (18:33 +0000)
committerDenis Ovsienko <[email protected]>
Wed, 28 Feb 2024 20:46:35 +0000 (20:46 +0000)
commit68761b465f6db19d5f5da9481322c74629c6e7f9
tree0160fae6c66bc6de946d3bd65f864ec689dfdb35
parent07e0b558f42fcdb78e7410177b66c004e430c83b
Make illumos build warning-free. [skip appveyor]

As it turns out, the root cause of Clang warnings about tcpdump.c on
illumos has to do with illumos headers rather than tcpdump.  Until the
bug fix is in place and has propagated well into illumos distributions,
use a workaround: add a new pair of diagnostic control macros for Clang
only and on illumos wrap the "offending" lines with it.
CHANGES
build.sh
diag-control.h
tcpdump.c