commit: 930fe2268cbedda61e37fada65e57352d25d8761 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Oct 13 14:48:49 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Oct 13 14:49:25 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=930fe226
sys-devel/clang-common: drop -Werror=strict-prototypes,deprecated-non-prototype for 16.x We don't need either of these for Clang 16 as it's already strict enough and as noted in 6213a0be95909859a98c6ae60febb35de2e8f2fd, it affects e.g. -std=c89 too. Closes: https://bugs.gentoo.org/876985 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-devel/clang-common/clang-common-16.0.0.9999.ebuild | 4 ---- sys-devel/clang-common/clang-common-16.0.0_pre20221010-r1.ebuild | 4 ---- 2 files changed, 8 deletions(-) diff --git a/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild b/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild index 841ceedb1077..3e43f51a0aab 100644 --- a/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild +++ b/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild @@ -97,10 +97,6 @@ src_install() { -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types - - # constructs banned by C2x - -Werror=strict-prototypes - -Werror=deprecated-non-prototype EOF cat >> "${ED}/etc/clang/gentoo-common.cfg" <<-EOF || die diff --git a/sys-devel/clang-common/clang-common-16.0.0_pre20221010-r1.ebuild b/sys-devel/clang-common/clang-common-16.0.0_pre20221010-r1.ebuild index 841ceedb1077..3e43f51a0aab 100644 --- a/sys-devel/clang-common/clang-common-16.0.0_pre20221010-r1.ebuild +++ b/sys-devel/clang-common/clang-common-16.0.0_pre20221010-r1.ebuild @@ -97,10 +97,6 @@ src_install() { -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types - - # constructs banned by C2x - -Werror=strict-prototypes - -Werror=deprecated-non-prototype EOF cat >> "${ED}/etc/clang/gentoo-common.cfg" <<-EOF || die
