Karsten Hopp c20a11
To: vim_dev@googlegroups.com
Karsten Hopp c20a11
Subject: Patch 7.3.6
Karsten Hopp c20a11
Fcc: outbox
Karsten Hopp c20a11
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp c20a11
Mime-Version: 1.0
Karsten Hopp c20a11
Content-Type: text/plain; charset=UTF-8
Karsten Hopp c20a11
Content-Transfer-Encoding: 8bit
Karsten Hopp c20a11
------------
Karsten Hopp c20a11
Karsten Hopp c20a11
Patch 7.3.666
Karsten Hopp c20a11
Problem:    With MSVC 11 Win32.mak is not found.
Karsten Hopp c20a11
Solution:   Add the SDK_INCLUDE_DIR variable. (Raymond Ko)
Karsten Hopp c20a11
Files:	    src/Make_mvc.mak
Karsten Hopp c20a11
Karsten Hopp c20a11
Karsten Hopp c20a11
*** ../vim-7.3.665/src/Make_mvc.mak	2012-09-18 18:27:07.000000000 +0200
Karsten Hopp c20a11
--- src/Make_mvc.mak	2012-09-18 21:58:09.000000000 +0200
Karsten Hopp c20a11
***************
Karsten Hopp c20a11
*** 1,7 ****
Karsten Hopp c20a11
  # Makefile for Vim on Win32 (Windows NT/2000/XP/2003 and Windows 95/98/Me)
Karsten Hopp c20a11
  # and Win64, using the Microsoft Visual C++ compilers. Known to work with
Karsten Hopp c20a11
  # VC5, VC6 (VS98), VC7.0 (VS2002), VC7.1 (VS2003), VC8 (VS2005),
Karsten Hopp c20a11
! # VC9 (VS2008), and VC10 (VS2010).
Karsten Hopp c20a11
  #
Karsten Hopp c20a11
  # To build using other Windows compilers, see INSTALLpc.txt
Karsten Hopp c20a11
  #
Karsten Hopp c20a11
--- 1,7 ----
Karsten Hopp c20a11
  # Makefile for Vim on Win32 (Windows NT/2000/XP/2003 and Windows 95/98/Me)
Karsten Hopp c20a11
  # and Win64, using the Microsoft Visual C++ compilers. Known to work with
Karsten Hopp c20a11
  # VC5, VC6 (VS98), VC7.0 (VS2002), VC7.1 (VS2003), VC8 (VS2005),
Karsten Hopp c20a11
! # VC9 (VS2008), VC10 (VS2010) and VC11 (VS2012)
Karsten Hopp c20a11
  #
Karsten Hopp c20a11
  # To build using other Windows compilers, see INSTALLpc.txt
Karsten Hopp c20a11
  #
Karsten Hopp c20a11
***************
Karsten Hopp c20a11
*** 15,20 ****
Karsten Hopp c20a11
--- 15,23 ----
Karsten Hopp c20a11
  # This will build the console version of Vim with no additional interfaces.
Karsten Hopp c20a11
  # To add features, define any of the following:
Karsten Hopp c20a11
  #
Karsten Hopp c20a11
+ # 	For MSVC 11 you need to specify where the Win32.mak file is, e.g.:
Karsten Hopp c20a11
+ # 	   SDK_INCLUDE_DIR="C:\Program Files\Microsoft SDKs\Windows\v7.1\Include"
Karsten Hopp c20a11
+ #
Karsten Hopp c20a11
  #	!!!!  After changing features do "nmake clean" first  !!!!
Karsten Hopp c20a11
  #
Karsten Hopp c20a11
  #       Feature Set: FEATURES=[TINY, SMALL, NORMAL, BIG, HUGE] (default is BIG)
Karsten Hopp c20a11
***************
Karsten Hopp c20a11
*** 227,233 ****
Karsten Hopp c20a11
--- 230,241 ----
Karsten Hopp c20a11
  
Karsten Hopp c20a11
  # Get all sorts of useful, standard macros from the Platform SDK.
Karsten Hopp c20a11
  
Karsten Hopp c20a11
+ !ifdef SDK_INCLUDE_DIR
Karsten Hopp c20a11
+ !include $(SDK_INCLUDE_DIR)\Win32.mak
Karsten Hopp c20a11
+ !else
Karsten Hopp c20a11
  !include <Win32.mak>
Karsten Hopp c20a11
+ !endif
Karsten Hopp c20a11
+ 
Karsten Hopp c20a11
  
Karsten Hopp c20a11
  # Flag to turn on Win64 compatibility warnings for VC7.x and VC8.
Karsten Hopp c20a11
  WP64CHECK = /Wp64
Karsten Hopp c20a11
***************
Karsten Hopp c20a11
*** 911,917 ****
Karsten Hopp c20a11
  
Karsten Hopp c20a11
  # Report link time code generation progress if used. 
Karsten Hopp c20a11
  !ifdef NODEBUG
Karsten Hopp c20a11
! !if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0") || ("$(MSVCVER)" == "10.0")
Karsten Hopp c20a11
  !if "$(OPTIMIZE)" != "SPACE"
Karsten Hopp c20a11
  LINKARGS1 = $(LINKARGS1) /LTCG:STATUS
Karsten Hopp c20a11
  !endif
Karsten Hopp c20a11
--- 919,925 ----
Karsten Hopp c20a11
  
Karsten Hopp c20a11
  # Report link time code generation progress if used. 
Karsten Hopp c20a11
  !ifdef NODEBUG
Karsten Hopp c20a11
! !if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0") || ("$(MSVCVER)" == "10.0") || ("$(MSVCVER)" == "11.0")
Karsten Hopp c20a11
  !if "$(OPTIMIZE)" != "SPACE"
Karsten Hopp c20a11
  LINKARGS1 = $(LINKARGS1) /LTCG:STATUS
Karsten Hopp c20a11
  !endif
Karsten Hopp c20a11
*** ../vim-7.3.665/src/version.c	2012-09-18 18:27:07.000000000 +0200
Karsten Hopp c20a11
--- src/version.c	2012-09-18 21:58:44.000000000 +0200
Karsten Hopp c20a11
***************
Karsten Hopp c20a11
*** 721,722 ****
Karsten Hopp c20a11
--- 721,724 ----
Karsten Hopp c20a11
  {   /* Add new patch number below this line */
Karsten Hopp c20a11
+ /**/
Karsten Hopp c20a11
+     666,
Karsten Hopp c20a11
  /**/
Karsten Hopp c20a11
Karsten Hopp c20a11
-- 
Karsten Hopp c20a11
Be nice to your kids...  they'll be the ones choosing your nursing home.
Karsten Hopp c20a11
Karsten Hopp c20a11
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp c20a11
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp c20a11
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp c20a11
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///