view ci/config.mk.clang-12.sed @ 29096:d2ef7d649fcb v8.2.5069

patch 8.2.5069: various warnings from clang on MS-Windows Commit: https://github.com/vim/vim/commit/ebb01bdb273216607f60faddf791a1b378cccfa8 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Wed Jun 8 15:14:09 2022 +0100 patch 8.2.5069: various warnings from clang on MS-Windows Problem: Various warnings from clang on MS-Windows. Solution: Fix the code to avoid the warnings. (Yegappan Lakshmanan, closes #10538)
author Bram Moolenaar <Bram@vim.org>
date Wed, 08 Jun 2022 16:15:03 +0200
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/