changeset 28664:0e589fdf0081 v8.2.4856

patch 8.2.4856: MinGW compiler complains about unknown escape sequence Commit: https://github.com/vim/vim/commit/2890c0b9d2416489d48bc47567378503997fef84 Author: Christian Brabandt <cb@256bit.org> Date: Mon May 2 10:34:15 2022 +0100 patch 8.2.4856: MinGW compiler complains about unknown escape sequence Problem: MinGW compiler complains about unknown escape sequence. Solution: Avoid using a backslash in path. (Christian Brabandt, closes #10337)
author Bram Moolenaar <Bram@vim.org>
date Mon, 02 May 2022 11:45:04 +0200
parents 02ed0b0c5f5c
children d7e39c4eebd2
files .github/workflows/ci.yml src/version.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -364,6 +364,8 @@ jobs:
       LUA32_URL: https://downloads.sourceforge.net/luabinaries/lua-%LUA_RELEASE%_Win32_dllw6_lib.zip
       LUA64_URL: https://downloads.sourceforge.net/luabinaries/lua-%LUA_RELEASE%_Win64_dllw6_lib.zip
       LUA_DIR: D:\Lua
+      # do not want \L to end up in pathdef.c and compiler complaining about unknown escape sequences \l
+      LUA_DIR_SLASH: D:/Lua
       # Python 2
       PYTHON_VER: 27
       PYTHON_VER_DOT: '2.7'
@@ -510,7 +512,7 @@ jobs:
             mingw32-make -f Make_ming.mak -j2 \
               FEATURES=${{ matrix.features }} \
               GUI=yes IME=yes ICONV=yes VIMDLL=yes \
-              DYNAMIC_LUA=yes LUA=${LUA_DIR} \
+              DYNAMIC_LUA=yes LUA=${LUA_DIR_SLASH} \
               DYNAMIC_PYTHON=yes PYTHON=${PYTHON_DIR} \
               DYNAMIC_PYTHON3=yes PYTHON3=${PYTHON3_DIR} \
               STATIC_STDCPLUS=yes COVERAGE=${{ matrix.coverage }}
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    4856,
+/**/
     4855,
 /**/
     4854,