From nobody Thu Mar 30 14:54:33 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PnRK54B4tz41sfw; Thu, 30 Mar 2023 14:54:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PnRK537Tvz40QN; Thu, 30 Mar 2023 14:54:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680188073; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zellVLnzFSxhQmb2iTVXBKmkZ/6DreyAqN+fU86zEKo=; b=hcc6e0c0mge/i83Wvu4wRIYMbtTzRVgqY5RXOYBcDYadJN55kI7jQLdna2fiwjXBnKXUir kJbSZyRWqUd7Tt9Q3wulKl4F+aDQzHL80f+aXLbFhoQH9OtwlY0g60lQS8w9VdkJXpJNnT wKjdTEuk61w6/fZjURvtET9kagp6mpl1r4Z5FoauucPaSf7ggDaGzLDOOaxgvbr1VOm5Bn WQf/Zi71S13A+HEcKcjzB6/09UInFRgDVFSucY9fNmRhVB7UMzy6v17oBtrOrRrUDBtlX0 lzP7pZcRVZH8gMjpXcKh2aGyIfGbshFyERv6GSbr5shLcKv21g1Rrzt2pUU67A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680188073; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zellVLnzFSxhQmb2iTVXBKmkZ/6DreyAqN+fU86zEKo=; b=iU+J+26JAX6UhtmVM0cvltlODtJQXKowcjSTYSTbYlnlNHx2il0P1HfqAmQy8jCmBjEmHF AVnuFw/5xAHUf3jAhaw0sFbS6X4JNKDlnPVFBHxoPJd1A0H3Wtcv3HNOLn8FfZNBPmAQnB aV92ofEKuFfzpYxEI/fEv+qDaaBAojNgb6tUs9eM7NkF5eN4UUK5jW6CxkpMeV3fN1+4U+ k9D8g/bt51MJNkhQL8Q/0s2CXIJemv3FUnOCY1UuSGFEhjb9+xLVy0Ix38fyAp87F7mkt/ 4cjiLfdWJGc9SKVUy/fqSM8KWN3g/2coMDuP4XdCgRe9dBAI6IFwr7HKJXa6Uw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680188073; a=rsa-sha256; cv=none; b=w56t4Tl6UE4O8khoFSCTAjVia1Mjkgl8qPekaFPozlyg4rcWB5BxDjqyz+4bKTEIXdnbdA z4hsFSLGQk6M9ayvHc1oaMXkSg6PxlH5LO74z0DwAgS/95qka7+/BeB3dXRYQQwB2LyHbK PrQ6HYfbE98dK2OvLqM0xwHgMLIV/VF7kNKJWlMSHuRD/v5SykkiPZQK2NIjxs3H5nd83e uiMqG9Gr2yXDdFzcrFbNyhksXCJ4r/63CQVHtORUb8pBLnD0Q5aj3sY90bSQcoNMQWIaBA AZFp1KcmG8Z82xMk5qSx1AfDExaMYdcgaOOT0hqO9w0gjwiZB1BfEcQ8vtJ6vQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PnRK52B72zGjt; Thu, 30 Mar 2023 14:54:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32UEsXFY010936; Thu, 30 Mar 2023 14:54:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32UEsXuj010935; Thu, 30 Mar 2023 14:54:33 GMT (envelope-from git) Date: Thu, 30 Mar 2023 14:54:33 GMT Message-Id: <202303301454.32UEsXuj010935@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mateusz Guzik Subject: git: 82eb549f800e - stable/13 - Support compilation with llvm 15 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 82eb549f800e08158802b74bef62e7db0939a3fe Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=82eb549f800e08158802b74bef62e7db0939a3fe commit 82eb549f800e08158802b74bef62e7db0939a3fe Author: Mateusz Guzik AuthorDate: 2023-03-30 14:53:33 +0000 Commit: Mateusz Guzik 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"