Date: Thu, 30 Mar 2023 22:43:57 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: 47d1e67874fa - main - sys: Disable errors for -Wunused-function on GCC. Message-ID: <202303302243.32UMhv3Q084338@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=47d1e67874fae0e13a4670a5faa97e87d4667140 commit 47d1e67874fae0e13a4670a5faa97e87d4667140 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2023-03-30 22:43:48 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2023-03-30 22:43:48 +0000 sys: Disable errors for -Wunused-function on GCC. This matches the handling of this warning on clang. --- sys/conf/kern.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index a80d6211c182..9975eea6417a 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -74,6 +74,7 @@ CWARNEXTRA?= -Wno-error=address \ -Wno-error=sequence-point \ -Wno-error=shift-overflow \ -Wno-error=tautological-compare \ + -Wno-error=unused-function \ -Wno-unused-but-set-variable .if ${COMPILER_VERSION} >= 70100 CWARNEXTRA+= -Wno-error=stringop-overflow
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303302243.32UMhv3Q084338>