view ci/config.mk.clang-12.sed @ 26819:0d798c7e1865 v8.2.3938

patch 8.2.3938: line comment start is also found in a string Commit: https://github.com/vim/vim/commit/ba26367fea3b63df49d274f3d5cca0af38402add Author: Bram Moolenaar <Bram@vim.org> Date: Wed Dec 29 18:09:13 2021 +0000 patch 8.2.3938: line comment start is also found in a string Problem: Line comment start is also found in a string. Solution: Skip line comments in a string.
author Bram Moolenaar <Bram@vim.org>
date Wed, 29 Dec 2021 19:15:03 +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/