Karsten Hopp 81c285
To: vim-dev@vim.org
Karsten Hopp 81c285
Subject: Patch 7.2.204 (extra)
Karsten Hopp 81c285
Fcc: outbox
Karsten Hopp 81c285
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 81c285
Mime-Version: 1.0
Karsten Hopp 81c285
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 81c285
Content-Transfer-Encoding: 8bit
Karsten Hopp 81c285
------------
Karsten Hopp 81c285
Karsten Hopp 81c285
Patch 7.2.204 (extra)
Karsten Hopp 81c285
Problem:    Win32: Can't build with Visual Studio 2010 beta 1.
Karsten Hopp 81c285
Solution:   Fix the makefile. (George Reilly)
Karsten Hopp 81c285
Files:	    src/Make_mvc.mak
Karsten Hopp 81c285
Karsten Hopp 81c285
Karsten Hopp 81c285
*** ../vim-7.2.203/src/Make_mvc.mak	2009-05-26 22:58:43.000000000 +0200
Karsten Hopp 81c285
--- src/Make_mvc.mak	2009-06-16 16:27:59.000000000 +0200
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 1,18 ****
Karsten Hopp 81c285
  # Makefile for Vim on Win32 (Windows NT/2000/XP/2003 and Windows 95/98/Me)
Karsten Hopp 81c285
  # and Win64, using the Microsoft Visual C++ compilers. Known to work with
Karsten Hopp 81c285
  # VC5, VC6 (VS98), VC7.0 (VS2002), VC7.1 (VS2003), VC8 (VS2005),
Karsten Hopp 81c285
! # and VC9 (VS2008).
Karsten Hopp 81c285
  #
Karsten Hopp 81c285
  # To build using other Windows compilers, see INSTALLpc.txt
Karsten Hopp 81c285
  #
Karsten Hopp 81c285
  # This makefile can build the console, GUI, OLE-enable, Perl-enabled and
Karsten Hopp 81c285
! # Python-enabled versions of vim for Win32 platforms.
Karsten Hopp 81c285
  #
Karsten Hopp 81c285
! # The basic command line to build vim is:
Karsten Hopp 81c285
  #
Karsten Hopp 81c285
  #	nmake -f Make_mvc.mak
Karsten Hopp 81c285
  #
Karsten Hopp 81c285
! # This will build the console version of vim with no additional interfaces.
Karsten Hopp 81c285
  # To add features, define any of the following:
Karsten Hopp 81c285
  #
Karsten Hopp 81c285
  #	!!!!  After changing features do "nmake clean" first  !!!!
Karsten Hopp 81c285
--- 1,18 ----
Karsten Hopp 81c285
  # Makefile for Vim on Win32 (Windows NT/2000/XP/2003 and Windows 95/98/Me)
Karsten Hopp 81c285
  # and Win64, using the Microsoft Visual C++ compilers. Known to work with
Karsten Hopp 81c285
  # VC5, VC6 (VS98), VC7.0 (VS2002), VC7.1 (VS2003), VC8 (VS2005),
Karsten Hopp 81c285
! # VC9 (VS2008), and VC10 (VS2010).
Karsten Hopp 81c285
  #
Karsten Hopp 81c285
  # To build using other Windows compilers, see INSTALLpc.txt
Karsten Hopp 81c285
  #
Karsten Hopp 81c285
  # This makefile can build the console, GUI, OLE-enable, Perl-enabled and
Karsten Hopp 81c285
! # Python-enabled versions of Vim for Win32 platforms.
Karsten Hopp 81c285
  #
Karsten Hopp 81c285
! # The basic command line to build Vim is:
Karsten Hopp 81c285
  #
Karsten Hopp 81c285
  #	nmake -f Make_mvc.mak
Karsten Hopp 81c285
  #
Karsten Hopp 81c285
! # This will build the console version of Vim with no additional interfaces.
Karsten Hopp 81c285
  # To add features, define any of the following:
Karsten Hopp 81c285
  #
Karsten Hopp 81c285
  #	!!!!  After changing features do "nmake clean" first  !!!!
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 358,363 ****
Karsten Hopp 81c285
--- 358,366 ----
Karsten Hopp 81c285
  !if "$(_NMAKE_VER)" == "9.00.30729.01"
Karsten Hopp 81c285
  MSVCVER = 9.0
Karsten Hopp 81c285
  !endif
Karsten Hopp 81c285
+ !if "$(_NMAKE_VER)" == "10.00.20506.01"
Karsten Hopp 81c285
+ MSVCVER = 10.0
Karsten Hopp 81c285
+ !endif
Karsten Hopp 81c285
  !endif
Karsten Hopp 81c285
  
Karsten Hopp 81c285
  # Abort bulding VIM if version of VC is unrecognised.
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 372,378 ****
Karsten Hopp 81c285
  !endif
Karsten Hopp 81c285
  
Karsten Hopp 81c285
  # Convert processor ID to MVC-compatible number
Karsten Hopp 81c285
! !if ("$(MSVCVER)" != "8.0") && ("$(MSVCVER)" != "9.0")
Karsten Hopp 81c285
  !if "$(CPUNR)" == "i386"
Karsten Hopp 81c285
  CPUARG = /G3
Karsten Hopp 81c285
  !elseif "$(CPUNR)" == "i486"
Karsten Hopp 81c285
--- 375,381 ----
Karsten Hopp 81c285
  !endif
Karsten Hopp 81c285
  
Karsten Hopp 81c285
  # Convert processor ID to MVC-compatible number
Karsten Hopp 81c285
! !if ("$(MSVCVER)" != "8.0") && ("$(MSVCVER)" != "9.0") && ("$(MSVCVER)" != "10.0")
Karsten Hopp 81c285
  !if "$(CPUNR)" == "i386"
Karsten Hopp 81c285
  CPUARG = /G3
Karsten Hopp 81c285
  !elseif "$(CPUNR)" == "i486"
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 405,411 ****
Karsten Hopp 81c285
  !else # MAXSPEED
Karsten Hopp 81c285
  OPTFLAG = /Ox
Karsten Hopp 81c285
  !endif
Karsten Hopp 81c285
! !if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0")
Karsten Hopp 81c285
  # Use link time code generation if not worried about size
Karsten Hopp 81c285
  !if "$(OPTIMIZE)" != "SPACE"
Karsten Hopp 81c285
  OPTFLAG = $(OPTFLAG) /GL
Karsten Hopp 81c285
--- 408,414 ----
Karsten Hopp 81c285
  !else # MAXSPEED
Karsten Hopp 81c285
  OPTFLAG = /Ox
Karsten Hopp 81c285
  !endif
Karsten Hopp 81c285
! !if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0") || ("$(MSVCVER)" == "10.0")
Karsten Hopp 81c285
  # Use link time code generation if not worried about size
Karsten Hopp 81c285
  !if "$(OPTIMIZE)" != "SPACE"
Karsten Hopp 81c285
  OPTFLAG = $(OPTFLAG) /GL
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 793,799 ****
Karsten Hopp 81c285
  
Karsten Hopp 81c285
  # Report link time code generation progress if used. 
Karsten Hopp 81c285
  !ifdef NODEBUG
Karsten Hopp 81c285
! !if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0")
Karsten Hopp 81c285
  !if "$(OPTIMIZE)" != "SPACE"
Karsten Hopp 81c285
  LINKARGS1 = $(LINKARGS1) /LTCG:STATUS
Karsten Hopp 81c285
  !endif
Karsten Hopp 81c285
--- 796,802 ----
Karsten Hopp 81c285
  
Karsten Hopp 81c285
  # Report link time code generation progress if used. 
Karsten Hopp 81c285
  !ifdef NODEBUG
Karsten Hopp 81c285
! !if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0") || ("$(MSVCVER)" == "10.0")
Karsten Hopp 81c285
  !if "$(OPTIMIZE)" != "SPACE"
Karsten Hopp 81c285
  LINKARGS1 = $(LINKARGS1) /LTCG:STATUS
Karsten Hopp 81c285
  !endif
Karsten Hopp 81c285
*** ../vim-7.2.203/src/version.c	2009-06-16 16:01:34.000000000 +0200
Karsten Hopp 81c285
--- src/version.c	2009-06-16 16:32:41.000000000 +0200
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 678,679 ****
Karsten Hopp 81c285
--- 678,681 ----
Karsten Hopp 81c285
  {   /* Add new patch number below this line */
Karsten Hopp 81c285
+ /**/
Karsten Hopp 81c285
+     204,
Karsten Hopp 81c285
  /**/
Karsten Hopp 81c285
Karsten Hopp 81c285
-- 
Karsten Hopp 81c285
How To Keep A Healthy Level Of Insanity:
Karsten Hopp 81c285
16. Have your coworkers address you by your wrestling name, Rock Hard Kim.
Karsten Hopp 81c285
Karsten Hopp 81c285
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 81c285
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 81c285
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 81c285
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///