1
0
forked from aniani/vim

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)
This commit is contained in:
Christian Brabandt
2022-05-02 10:34:15 +01:00
committed by Bram Moolenaar
parent 2096a5f128
commit 2890c0b9d2
2 changed files with 5 additions and 1 deletions

View File

@@ -364,6 +364,8 @@ jobs:
LUA32_URL: https://downloads.sourceforge.net/luabinaries/lua-%LUA_RELEASE%_Win32_dllw6_lib.zip 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 LUA64_URL: https://downloads.sourceforge.net/luabinaries/lua-%LUA_RELEASE%_Win64_dllw6_lib.zip
LUA_DIR: D:\Lua 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 2
PYTHON_VER: 27 PYTHON_VER: 27
PYTHON_VER_DOT: '2.7' PYTHON_VER_DOT: '2.7'
@@ -510,7 +512,7 @@ jobs:
mingw32-make -f Make_ming.mak -j2 \ mingw32-make -f Make_ming.mak -j2 \
FEATURES=${{ matrix.features }} \ FEATURES=${{ matrix.features }} \
GUI=yes IME=yes ICONV=yes VIMDLL=yes \ 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_PYTHON=yes PYTHON=${PYTHON_DIR} \
DYNAMIC_PYTHON3=yes PYTHON3=${PYTHON3_DIR} \ DYNAMIC_PYTHON3=yes PYTHON3=${PYTHON3_DIR} \
STATIC_STDCPLUS=yes COVERAGE=${{ matrix.coverage }} STATIC_STDCPLUS=yes COVERAGE=${{ matrix.coverage }}

View File

@@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
4856,
/**/ /**/
4855, 4855,
/**/ /**/