Mercurial > vim
view ci/config.mk.clang-12.sed @ 32760:8eded585a4d5 v9.0.1699
patch 9.0.1699: compile warning for xdiff/xutils on MS-Windows
Commit: https://github.com/vim/vim/commit/6c313bbb043745a60a7ee30a78edb907260b764a
Author: Mike Williams <mikew@globalgraphics.com>
Date: Sat Aug 12 20:47:43 2023 +0200
patch 9.0.1699: compile warning for xdiff/xutils on MS-Windows
Problem: compile warning for xdiff/xutils on MS-Windows
Solution: add explicit type cast from size_t to long
closes: #12531
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Mike Williams <mikew@globalgraphics.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 12 Aug 2023 21:00:05 +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/