Date: Mon, 5 Dec 2022 00:30:39 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: aa9ce62be54f - main - fwcontrol: Disable -Wzero-length-bounds warnings. Message-ID: <202212050030.2B50UddT069723@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=aa9ce62be54fd9a022b770d36fb1e4f24bfcd223 commit aa9ce62be54fd9a022b770d36fb1e4f24bfcd223 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-12-05 00:30:20 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-12-05 00:30:20 +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 --- 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?202212050030.2B50UddT069723>