diff options
author | ichizok <gclient.gaap@gmail.com> | 2021-12-09 21:08:01 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-09 21:08:01 +0000 |
commit | dee78e1ce857985c06ff18e20daeadfe1622b8ae (patch) | |
tree | 88154493cd203d40f170682397645191fb248fcc /ci/config.mk.clang-12.sed | |
parent | 4c8c634365bc6d4d462635aed5e0f7ad2262d590 (diff) |
patch 8.2.3770: new compiler warnings from clang-12 and clang-13v8.2.3770
Problem: New compiler warnings from clang-12 and clang-13.
Solution: Adjust CI and suppress some warnings. (Ozaki Kiichi, closes #9314)
Diffstat (limited to 'ci/config.mk.clang-12.sed')
-rw-r--r-- | ci/config.mk.clang-12.sed | 3 |
1 files changed, 3 insertions, 0 deletions
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/ |