From dee78e1ce857985c06ff18e20daeadfe1622b8ae Mon Sep 17 00:00:00 2001 From: ichizok Date: Thu, 9 Dec 2021 21:08:01 +0000 Subject: patch 8.2.3770: new compiler warnings from clang-12 and clang-13 Problem: New compiler warnings from clang-12 and clang-13. Solution: Adjust CI and suppress some warnings. (Ozaki Kiichi, closes #9314) --- ci/config.mk.clang-12.sed | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 ci/config.mk.clang-12.sed (limited to 'ci') diff --git a/ci/config.mk.clang-12.sed b/ci/config.mk.clang-12.sed new file mode 100644 index 0000000000..e305c5966c --- /dev/null +++ b/ci/config.mk.clang-12.sed @@ -0,0 +1,3 @@ +# Clang 12 (or Apple clang 13) and later makes a warning '-Wcompound-token-split-by-macro' enable by default. +/^PERL_CFLAGS[[:blank:]]*=/s/$/ -Wno-error=compound-token-split-by-macro/ +/^RUBY_CFLAGS[[:blank:]]*=/s/$/ -Wno-error=compound-token-split-by-macro/ -- cgit v1.2.3