view ci/config.mk.clang-12.sed @ 27271:b760dfee1bd7 v8.2.4164

patch 8.2.4164: error in legacy code for function shadowing variable Commit: https://github.com/vim/vim/commit/6f0ddbf00dfc4c6eb70aa4abc415cad7aba46b6a Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 20 19:56:49 2022 +0000 patch 8.2.4164: error in legacy code for function shadowing variable Problem: Error in legacy code for function shadowing variable. Solution: Only give the error in Vim9 script.
author Bram Moolenaar <Bram@vim.org>
date Thu, 20 Jan 2022 21:00:06 +0100
parents fccd67ae58c8
children 9b35b4c6df4c
line wrap: on
line source

# Clang 12 (or Apple clang 13) and later makes a warning '-Wcompound-token-split-by-macro' enable by default.
/^PERL_CFLAGS_EXTRA[[:blank:]]*=/s/$/ -Wno-error=compound-token-split-by-macro/
/^RUBY_CFLAGS_EXTRA[[:blank:]]*=/s/$/ -Wno-error=compound-token-split-by-macro/