]> 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]>
Thu, 29 Aug 2024 11:38:31 +0000 (12:38 +0100)
commitc55ee59b703f8252a9b930e49074d16783b22ab6
tree4f95578afcfab5a56ca85f0c861d902646eb637e
parent51ab30fe8205e446e4a7d7d4af768cdbc00d20f0
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.

(cherry picked from commit 68761b465f6db19d5f5da9481322c74629c6e7f9)
CHANGES
build.sh
diag-control.h
tcpdump.c