summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-10-13 15:47:08 +0100
committerSam James <sam@gentoo.org>2022-10-13 15:47:08 +0100
commit6213a0be95909859a98c6ae60febb35de2e8f2fd (patch)
tree406a7534c91d9509216ba28f113eff6ce0ace724 /sys-devel
parentapp-emulation/qemu-guest-agent: call udev_reload in postinst/postrm (diff)
downloadgentoo-6213a0be95909859a98c6ae60febb35de2e8f2fd.tar.gz
gentoo-6213a0be95909859a98c6ae60febb35de2e8f2fd.tar.bz2
gentoo-6213a0be95909859a98c6ae60febb35de2e8f2fd.zip
sys-devel/clang-common: drop -Werror=strict-prototypes for 15.x
We're keeping -Werror=deprecated-non-prototype for 15.x as there's no better option though, as we need some way to emulate Clang 16's strict behaviour in Clang 15, even though this overshoots it a bit. But it isn't ideal as it still affects e.g. -std=c89. Bug: https://bugs.gentoo.org/876985 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/clang-common/clang-common-15.0.2-r2.ebuild (renamed from sys-devel/clang-common/clang-common-15.0.2-r1.ebuild)1
-rw-r--r--sys-devel/clang-common/clang-common-15.0.3.9999.ebuild1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys-devel/clang-common/clang-common-15.0.2-r1.ebuild b/sys-devel/clang-common/clang-common-15.0.2-r2.ebuild
index 515cb176e7bd..40df6f0ec79b 100644
--- a/sys-devel/clang-common/clang-common-15.0.2-r1.ebuild
+++ b/sys-devel/clang-common/clang-common-15.0.2-r2.ebuild
@@ -100,7 +100,6 @@ src_install() {
-Werror=incompatible-function-pointer-types
# constructs banned by C2x
- -Werror=strict-prototypes
-Werror=deprecated-non-prototype
EOF
diff --git a/sys-devel/clang-common/clang-common-15.0.3.9999.ebuild b/sys-devel/clang-common/clang-common-15.0.3.9999.ebuild
index 841ceedb1077..d5e7941a5fc8 100644
--- a/sys-devel/clang-common/clang-common-15.0.3.9999.ebuild
+++ b/sys-devel/clang-common/clang-common-15.0.3.9999.ebuild
@@ -99,7 +99,6 @@ src_install() {
-Werror=incompatible-function-pointer-types
# constructs banned by C2x
- -Werror=strict-prototypes
-Werror=deprecated-non-prototype
EOF