view ci/config.mk.clang-12.sed @ 35244:8f04cf65ecff v9.1.0432

patch 9.1.0432: Ancient XPM preprocessor hack may cause build errors Commit: https://github.com/vim/vim/commit/5090f838bbcd3a13433d9fe20a94f3ce6b796eb1 Author: Drew Vogel <dvogel@github> Date: Wed May 22 16:51:53 2024 +0200 patch 9.1.0432: Ancient XPM preprocessor hack may cause build errors Problem: Ancient XPM preprocessor hack may cause build errors. Solution: Simplify XPM includes and get rid of complicated #ifdef magic (Drew Vogel). closes: #14816 Signed-off-by: Drew Vogel <dvogel@github> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Wed, 22 May 2024 17:00:06 +0200
parents 9b35b4c6df4c
children
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 -Wno-compound-token-split-by-macro/
/^RUBY_CFLAGS_EXTRA[[:blank:]]*=/s/$/ -Wno-error=compound-token-split-by-macro/