From: Bram Moolenaar Date: Fri, 11 Nov 2022 21:24:18 +0000 (+0000) Subject: patch 9.0.0860: MS-Windows: windres fails with clang 15.0.4 X-Git-Tag: v9.0.0860 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a20be06f97d45efabaa52ef107eb7959c0c623a2;p=vim patch 9.0.0860: MS-Windows: windres fails with clang 15.0.4 Problem: MS-Windows: windres fails with clang 15.0.4. Solution: Use llvm-windres. (John Marriott) --- diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak index 37dc26033..ad48a4d12 100644 --- a/src/Make_cyg_ming.mak +++ b/src/Make_cyg_ming.mak @@ -227,7 +227,11 @@ endif ifeq ($(UNDER_CYGWIN),yes) WINDRES := $(CROSS_COMPILE)windres else +ifeq ($(findstring clang,$(CC)),) WINDRES := windres +else +WINDRES := llvm-windres +endif endif # Get the default ARCH. diff --git a/src/version.c b/src/version.c index fe55c0a1a..0e991a3ff 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 860, /**/ 859, /**/