]> granicus.if.org Git - vim/commitdiff
patch 8.2.0756: MS-Windows: still a compiler warning v8.2.0756
authorBram Moolenaar <Bram@vim.org>
Fri, 15 May 2020 16:21:51 +0000 (18:21 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 15 May 2020 16:21:51 +0000 (18:21 +0200)
Problem:    MS-Windows: still a compiler warning.
Solution:   Move flag to another place in the Makefile. (Ken Takata,
            closes #6083)

src/Make_mvc.mak
src/version.c

index ffe6e4914c755af23ec4878999785b964e859de4..c93517b9808fecd370f9533d7ee5e8b7472bea19 100644 (file)
@@ -675,9 +675,6 @@ CFLAGS = $(CFLAGS) $(WP64CHECK)
 
 CFLAGS = $(CFLAGS) $(OPTFLAG) -DNDEBUG $(CPUARG)
 RCFLAGS = $(rcflags) $(rcvars) -DNDEBUG
-! if "$(CL)" == "/D_USING_V110_SDK71_"
-RCFLAGS = $(RCFLAGS) /D_USING_V110_SDK71_
-! endif
 ! ifdef USE_MSVCRT
 CFLAGS = $(CFLAGS) /MD
 LIBC = msvcrt.lib
@@ -707,6 +704,10 @@ CFLAGS = $(CFLAGS) /Zl /MTd
 ! endif
 !endif # DEBUG
 
+!if "$(CL)" == "/D_USING_V110_SDK71_"
+RCFLAGS = $(RCFLAGS) /D_USING_V110_SDK71_
+!endif
+
 !if $(MSVC_MAJOR) >= 8
 # Visual Studio 2005 has 'deprecated' many of the standard CRT functions
 CFLAGS_DEPR = /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
index 1f77ddc3f7e56995232b61c6f953490412afa4b2..44f816aef378d63510a70c87e4ee1a50d2e752e7 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    756,
 /**/
     755,
 /**/