From nobody Tue Apr 25 21:09:49 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 4Q5ZQ561MGz46k2K; Tue, 25 Apr 2023 21:09:49 +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 4Q5ZQ54Vf2z3NBL; Tue, 25 Apr 2023 21:09:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682456989; 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=lOv+LnCYqXXhitag7tx/9XKAKXF9Qnxp7nFJ/OKZWbQ=; b=urEMfTlvVT2kjIXAPYkROmmwejS1DUFSyiGFoCDoxVWpwO9jbZ6SFvbzbYFqqQkaiCDqEB JQoVaYnRcqszeky78HXsiCORURWijBiPoJre+x6uA28p9J3yXQ1G8H1oJg7blZjpvoLJC6 HvKmhjaxg2bM8Hb7wT2Q2OYVbFJej2O5RXUnkN4fnmKQyxQl8jfgkIuGhPdv3l3OyJAsaP a+EpccxITtIk+yPALwYISzigIhKzL61of7DHBQobbImxCHDOLYJfsn3plpuXbFr9JKgQSJ tq0IS3eE3S8lg2ZJ+O4/ivFFuAQqK8Xg+nUTbSAfL8vsTAjY3ELEIWzwDjDumg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682456989; 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=lOv+LnCYqXXhitag7tx/9XKAKXF9Qnxp7nFJ/OKZWbQ=; b=xSY/+VKdleszers60c87LKsNkG+dk6fenhUa6MQPieCDQst9XoJEUugzBBpUmOmnuwtyq9 +DmFQZRvVemooN5ZCAARPW3fy2OHXFAR7vdZS/kfvjnHFz1kYvW13c80/xDGkzYn+Uzkhg AegzoI57qWn0F99zsFJDXaXrCXXlPTYc6Nb/R6UDjv0O2vJttNL1eFNY5Uh9s8B+lySUzW N/if7ifVpnKMujR9/H0YRjbtzfMZMY1tpvVUORv//V+xJEqoROyWDgQCrWKuqrzTH658yk wL1HTTzYVXFnKNpFZx+0m47oX2TAkza+v0K9ulUl+kxHymp49ECW2Zza8h/QEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682456989; a=rsa-sha256; cv=none; b=Fsdx5VoTJIGFE7Lia6CPbqGtwLLcNYqXihxNdq8yIfOV20x4GNBR7pyRxxi41eTm95Lb3P 7GZqKNpJ/o8KmV948mDTj7aVMXdavYjdK+kf7TBboHOJifRSmkFBxCmfoYGxjW6j4jlCya ZsXoH7M9SkLamSpwlgb7qmo0p7BVboGKwD9HLtrdSTZHJRLsiMISUX3ovjVJiOqTbBPqSE BVCKB0VfG3ktYidubqQkwNEj0r+9Xlz3/3yznV6vV2CprWtYDt464awkNuCcbumDW2KZBA 34awGBW+BC0tMe9UT5Lk5UvhzImOGZCD7KyRDKX/rnG/YPOgymSRfbOeQ0Ub/A== 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 4Q5ZQ53TNKz1MZD; Tue, 25 Apr 2023 21:09:49 +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 33PL9nxH092423; Tue, 25 Apr 2023 21:09:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33PL9nAP092422; Tue, 25 Apr 2023 21:09:49 GMT (envelope-from git) Date: Tue, 25 Apr 2023 21:09:49 GMT Message-Id: <202304252109.33PL9nAP092422@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 7aab8fc5c5f0 - main - clang: Enable -Wdeprecated-non-prototype by default. 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7aab8fc5c5f0f26e494be3bc05c58cf38687cf69 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=7aab8fc5c5f0f26e494be3bc05c58cf38687cf69 commit 7aab8fc5c5f0f26e494be3bc05c58cf38687cf69 Author: John Baldwin AuthorDate: 2023-04-25 21:09:21 +0000 Commit: John Baldwin CommitDate: 2023-04-25 21:09:21 +0000 clang: Enable -Wdeprecated-non-prototype by default. PR: 270919 (exp-run) Reviewed by: dim, emaste Differential Revision: https://reviews.freebsd.org/D39535 --- share/mk/bsd.sys.mk | 1 - sys/conf/kern.mk | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index 19f92d8f9d5d..8141ed0661d1 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -95,7 +95,6 @@ CWARNFLAGS.clang+= -Wno-unused-const-variable CWARNFLAGS.clang+= -Wno-error=unused-but-set-variable .endif .if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 150000 -CWARNFLAGS.clang+= -Wno-error=deprecated-non-prototype CWARNFLAGS.clang+= -Wno-error=unused-but-set-parameter .endif .endif # WARNS <= 6 diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index 06fb48d0f93f..1a1251f670e1 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -47,10 +47,9 @@ CWARNEXTRA?= -Wno-error=tautological-compare -Wno-error=empty-body \ CWARNEXTRA+= -Wno-error=shift-negative-value CWARNEXTRA+= -Wno-address-of-packed-member .if ${COMPILER_VERSION} >= 150000 -# Clang 15 has much more aggressive diagnostics about K&R prototypes, -# mismatched prototypes, and unused-but-set variables. Make these +# Clang 15 has much more aggressive diagnostics about +# mismatched prototypes and unused-but-set variables. Make these # non-fatal for the time being. -CWARNEXTRA+= -Wno-error=deprecated-non-prototype CWARNEXTRA+= -Wno-error=strict-prototypes CWARNEXTRA+= -Wno-error=unused-but-set-variable .endif