Mercurial > vim
diff src/Make_mvc.mak @ 18662:652ac5edf8d0 v8.1.2323
patch 8.1.2323: Old MSVC version no longer tested.
Commit: https://github.com/vim/vim/commit/a07549008207099e8b7884d11d7c8a106e290cb9
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 19 23:01:28 2019 +0100
patch 8.1.2323: Old MSVC version no longer tested.
Problem: Old MSVC version no longer tested.
Solution: Drop support for MSCV 2008 and older. (Ken Takata, closes https://github.com/vim/vim/issues/5248)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 19 Nov 2019 23:15:04 +0100 |
parents | b1a10a018f83 |
children | 217c97e06615 |
line wrap: on
line diff
--- a/src/Make_mvc.mak +++ b/src/Make_mvc.mak @@ -1,7 +1,7 @@ # Makefile for Vim on Win32 (Windows XP/2003/Vista/7/8/10) and Win64, -# using the Microsoft Visual C++ compilers. Known to work with VC5, VC6 (VS98), -# VC7.0 (VS2002), VC7.1 (VS2003), VC8 (VS2005), VC9 (VS2008), VC10 (VS2010), -# VC11 (VS2012), VC12 (VS2013), VC14 (VS2015) and VC15 (VS2017) +# using the Microsoft Visual C++ compilers. Known to work with VC10 (VS2010), +# VC11 (VS2012), VC12 (VS2013), VC14 (VS2015), VC14.1 (VS2017) and +# VC14.2 (VS2019). # # To build using other Windows compilers, see INSTALLpc.txt # @@ -276,15 +276,9 @@ link = link !if $(MSVCVER) < 1900 MSVC_MAJOR = ($(MSVCVER) / 100 - 6) MSVCRT_VER = ($(MSVCVER) / 10 - 60) -# Visual C++ 2017 needs special handling -# it has an _MSC_VER of 1910->14.1, but is actually v15 with runtime v140 -# TODO: what's the maximum value? -!elseif $(MSVCVER) >= 1910 -MSVC_MAJOR = 15 -MSVCRT_VER = 140 !else MSVC_MAJOR = ($(MSVCVER) / 100 - 5) -MSVCRT_VER = ($(MSVCVER) / 10 - 50) +MSVCRT_VER = ($(MSVCVER) / 100 * 10 - 50) !endif # Calculate MSVC_FULL for Visual C++ 8 and up.