summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2023-05-08 19:48:22 -0700
committerGuy Harris <gharris@sonic.net>2023-05-08 19:48:22 -0700
commitceb247209c5f45121c3298515b883000205bb9f9 (patch)
tree86600d58e3588655592544b0c39f1139b37bd2d6
parent286594fb12b237fb61b0f7ebd738bb04be8e72d6 (diff)
downloadlibpcap-ceb247209c5f45121c3298515b883000205bb9f9.tar.gz
build.sh: remove the check for Clang 15 and 16.
We're working around the warning they produce for yynerrs in the parser being set but not used.
-rwxr-xr-xbuild.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/build.sh b/build.sh
index fa7809a7..d00bb500 100755
--- a/build.sh
+++ b/build.sh
@@ -54,11 +54,6 @@ clang-*/NetBSD-*)
# 'long' to 'suseconds_t' (aka 'int') [-Wshorten-64-to-32]
LIBPCAP_TAINTED=yes
;;
-clang-1[56].*/*)
- # grammar.c:1369:14: warning: variable 'pcap_nerrs' set but not used
- # [-Wunused-but-set-variable]
- LIBPCAP_TAINTED=yes
- ;;
clang-*/SunOS-5.11)
# (Solaris 11 and OpenIndiana)
# pcap-bpf.c:1044:18: warning: implicit conversion loses integer precision: