|
|
22c937 |
To: vim_dev@googlegroups.com
|
|
|
22c937 |
Subject: Patch 7.4.078
|
|
|
22c937 |
Fcc: outbox
|
|
|
22c937 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
22c937 |
Mime-Version: 1.0
|
|
|
22c937 |
Content-Type: text/plain; charset=UTF-8
|
|
|
22c937 |
Content-Transfer-Encoding: 8bit
|
|
|
22c937 |
------------
|
|
|
22c937 |
|
|
|
22c937 |
Patch 7.4.078
|
|
|
22c937 |
Problem: MSVC 2013 is not supported.
|
|
|
22c937 |
Solution: Recognize and support MSVC 2013. (Ed Brown)
|
|
|
22c937 |
Files: src/Make_mvc.mak
|
|
|
22c937 |
|
|
|
22c937 |
|
|
|
22c937 |
*** ../vim-7.4.077/src/Make_mvc.mak 2013-07-09 13:13:12.000000000 +0200
|
|
|
22c937 |
--- src/Make_mvc.mak 2013-11-08 03:12:48.000000000 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 424,429 ****
|
|
|
22c937 |
--- 424,432 ----
|
|
|
22c937 |
!if "$(_NMAKE_VER)" == "11.00.60610.1"
|
|
|
22c937 |
MSVCVER = 11.0
|
|
|
22c937 |
!endif
|
|
|
22c937 |
+ !if "$(_NMAKE_VER)" == "12.00.21005.1"
|
|
|
22c937 |
+ MSVCVER = 12.0
|
|
|
22c937 |
+ !endif
|
|
|
22c937 |
!endif
|
|
|
22c937 |
|
|
|
22c937 |
# Abort building VIM if version of VC is unrecognised.
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 438,444 ****
|
|
|
22c937 |
!endif
|
|
|
22c937 |
|
|
|
22c937 |
# Convert processor ID to MVC-compatible number
|
|
|
22c937 |
! !if ("$(MSVCVER)" != "8.0") && ("$(MSVCVER)" != "9.0") && ("$(MSVCVER)" != "10.0") && ("$(MSVCVER)" != "11.0")
|
|
|
22c937 |
!if "$(CPUNR)" == "i386"
|
|
|
22c937 |
CPUARG = /G3
|
|
|
22c937 |
!elseif "$(CPUNR)" == "i486"
|
|
|
22c937 |
--- 441,447 ----
|
|
|
22c937 |
!endif
|
|
|
22c937 |
|
|
|
22c937 |
# Convert processor ID to MVC-compatible number
|
|
|
22c937 |
! !if ("$(MSVCVER)" != "8.0") && ("$(MSVCVER)" != "9.0") && ("$(MSVCVER)" != "10.0") && ("$(MSVCVER)" != "11.0") && ("$(MSVCVER)" != "12.0")
|
|
|
22c937 |
!if "$(CPUNR)" == "i386"
|
|
|
22c937 |
CPUARG = /G3
|
|
|
22c937 |
!elseif "$(CPUNR)" == "i486"
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 472,478 ****
|
|
|
22c937 |
OPTFLAG = /Ox
|
|
|
22c937 |
!endif
|
|
|
22c937 |
|
|
|
22c937 |
! !if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0") || ("$(MSVCVER)" == "10.0") || ("$(MSVCVER)" == "11.0")
|
|
|
22c937 |
# Use link time code generation if not worried about size
|
|
|
22c937 |
!if "$(OPTIMIZE)" != "SPACE"
|
|
|
22c937 |
OPTFLAG = $(OPTFLAG) /GL
|
|
|
22c937 |
--- 475,481 ----
|
|
|
22c937 |
OPTFLAG = /Ox
|
|
|
22c937 |
!endif
|
|
|
22c937 |
|
|
|
22c937 |
! !if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0") || ("$(MSVCVER)" == "10.0") || ("$(MSVCVER)" == "11.0") || ("$(MSVCVER)" == "12.0")
|
|
|
22c937 |
# Use link time code generation if not worried about size
|
|
|
22c937 |
!if "$(OPTIMIZE)" != "SPACE"
|
|
|
22c937 |
OPTFLAG = $(OPTFLAG) /GL
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 485,491 ****
|
|
|
22c937 |
!endif
|
|
|
22c937 |
|
|
|
22c937 |
# Static code analysis generally available starting with VS2012
|
|
|
22c937 |
! !if ("$(ANALYZE)" == "yes") && ("$(MSVCVER)" == "11.0")
|
|
|
22c937 |
CFLAGS=$(CFLAGS) /analyze
|
|
|
22c937 |
!endif
|
|
|
22c937 |
|
|
|
22c937 |
--- 488,494 ----
|
|
|
22c937 |
!endif
|
|
|
22c937 |
|
|
|
22c937 |
# Static code analysis generally available starting with VS2012
|
|
|
22c937 |
! !if ("$(ANALYZE)" == "yes") && ("$(MSVCVER)" == "11.0") && ("$(MSVCVER)" == "12.0")
|
|
|
22c937 |
CFLAGS=$(CFLAGS) /analyze
|
|
|
22c937 |
!endif
|
|
|
22c937 |
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 943,949 ****
|
|
|
22c937 |
|
|
|
22c937 |
# Report link time code generation progress if used.
|
|
|
22c937 |
!ifdef NODEBUG
|
|
|
22c937 |
! !if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0") || ("$(MSVCVER)" == "10.0") || ("$(MSVCVER)" == "11.0")
|
|
|
22c937 |
!if "$(OPTIMIZE)" != "SPACE"
|
|
|
22c937 |
LINKARGS1 = $(LINKARGS1) /LTCG:STATUS
|
|
|
22c937 |
!endif
|
|
|
22c937 |
--- 946,952 ----
|
|
|
22c937 |
|
|
|
22c937 |
# Report link time code generation progress if used.
|
|
|
22c937 |
!ifdef NODEBUG
|
|
|
22c937 |
! !if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0") || ("$(MSVCVER)" == "10.0") || ("$(MSVCVER)" == "11.0") || ("$(MSVCVER)" == "12.0")
|
|
|
22c937 |
!if "$(OPTIMIZE)" != "SPACE"
|
|
|
22c937 |
LINKARGS1 = $(LINKARGS1) /LTCG:STATUS
|
|
|
22c937 |
!endif
|
|
|
22c937 |
*** ../vim-7.4.077/src/version.c 2013-11-07 04:49:23.000000000 +0100
|
|
|
22c937 |
--- src/version.c 2013-11-08 03:13:56.000000000 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 740,741 ****
|
|
|
22c937 |
--- 740,743 ----
|
|
|
22c937 |
{ /* Add new patch number below this line */
|
|
|
22c937 |
+ /**/
|
|
|
22c937 |
+ 78,
|
|
|
22c937 |
/**/
|
|
|
22c937 |
|
|
|
22c937 |
--
|
|
|
22c937 |
Every time I lose weight, it finds me again!
|
|
|
22c937 |
|
|
|
22c937 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
22c937 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
22c937 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
22c937 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|