Date: Wed, 3 May 2023 00:29:36 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 0345952b9e44 - stable/13 - fwcontrol: Disable -Wzero-length-bounds warnings. Message-ID: <202305030029.3430TaqQ071938@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=0345952b9e4410ff1aec898c1a1f09c2b0fef7c6 commit 0345952b9e4410ff1aec898c1a1f09c2b0fef7c6 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-12-05 00:30:20 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2023-05-03 00:04:46 +0000 fwcontrol: Disable -Wzero-length-bounds warnings. firewire.h includes zero length arrays in unions that trigger this warning. Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D37538 (cherry picked from commit aa9ce62be54fd9a022b770d36fb1e4f24bfcd223) --- usr.sbin/fwcontrol/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/fwcontrol/Makefile b/usr.sbin/fwcontrol/Makefile index ec0e67f67d20..4eb8611e8026 100644 --- a/usr.sbin/fwcontrol/Makefile +++ b/usr.sbin/fwcontrol/Makefile @@ -9,5 +9,6 @@ WARNS?= 3 SDIR= ${SRCTOP}/sys CFLAGS+=-I${.CURDIR} -I${SDIR} +CWARNFLAGS+= ${NO_WZERO_LENGTH_BOUNDS} .include <bsd.prog.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305030029.3430TaqQ071938>