git: 47d1e67874fa - main - sys: Disable errors for -Wunused-function on GCC.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Mar 2023 22:43:57 UTC
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