1
0
Fork 0
mirror of https://github.com/vim/vim synced 2025-03-25 11:15:10 +01:00
vim/ci/config.mk.clang-12.sed
ichizok dee78e1ce8 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 )
2021-12-09 21:08:01 +00:00

3 lines
258 B
Sed

# 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/