]> The Tcpdump Group git mirrors - libpcap/commitdiff
CI: Update build.sh for Clang 16. [skip appveyor]
authorDenis Ovsienko <[email protected]>
Mon, 8 May 2023 00:28:31 +0000 (01:28 +0100)
committerDenis Ovsienko <[email protected]>
Mon, 8 May 2023 00:28:31 +0000 (01:28 +0100)
Apparently, the warning that Clang started to generate in release 15
still stands in Clang release 16.

build.sh

index 110ce251052481799d4120ad50f96316d13856c0..fa7809a7f220df1d7803a5044db02bdac18a025b 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -54,7 +54,7 @@ clang-*/NetBSD-*)
     # 'long' to 'suseconds_t' (aka 'int') [-Wshorten-64-to-32]
     LIBPCAP_TAINTED=yes
     ;;
-clang-15.*/*)
+clang-1[56].*/*)
     # grammar.c:1369:14: warning: variable 'pcap_nerrs' set but not used
     #   [-Wunused-but-set-variable]
     LIBPCAP_TAINTED=yes