Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2023 14:54:33 GMT
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 82eb549f800e - stable/13 - Support compilation with llvm 15
Message-ID:  <202303301454.32UEsXuj010935@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=82eb549f800e08158802b74bef62e7db0939a3fe

commit 82eb549f800e08158802b74bef62e7db0939a3fe
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-03-30 14:53:33 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2023-03-30 14:53:33 +0000

    Support compilation with llvm 15
    
    This is a direct bare minimum commit.
---
 sys/conf/kern.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index 1144522c357b..5b12bbb1c9ce 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -45,6 +45,11 @@ CWARNEXTRA+=	-Wno-address-of-packed-member
 .if ${COMPILER_VERSION} >= 130000
 CWARNFLAGS+=	-Wno-error=unused-but-set-variable
 .endif
+.if ${COMPILER_VERSION} >= 150000
+CWARNFLAGS+=	-Wno-error=deprecated-non-prototype
+CWARNFLAGS+=	-Wno-error=array-parameter
+CWARNFLAGS+=	-Wno-error=strict-prototypes
+.endif
 .endif	# clang
 
 .if ${COMPILER_TYPE} == "gcc"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303301454.32UEsXuj010935>