Karsten Hopp 2d6d8b
To: vim_dev@googlegroups.com
Karsten Hopp 2d6d8b
Subject: Patch 7.3.971
Karsten Hopp 2d6d8b
Fcc: outbox
Karsten Hopp 2d6d8b
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 2d6d8b
Mime-Version: 1.0
Karsten Hopp 2d6d8b
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 2d6d8b
Content-Transfer-Encoding: 8bit
Karsten Hopp 2d6d8b
------------
Karsten Hopp 2d6d8b
Karsten Hopp 2d6d8b
Patch 7.3.971
Karsten Hopp 2d6d8b
Problem:    No support for VS2012 static code analysis.
Karsten Hopp 2d6d8b
Solution:   Add the ANALYZE option. (Mike Williams)
Karsten Hopp 2d6d8b
Files:	    src/Make_mvc.mak
Karsten Hopp 2d6d8b
Karsten Hopp 2d6d8b
Karsten Hopp 2d6d8b
*** ../vim-7.3.970/src/Make_mvc.mak	2013-05-19 19:16:25.000000000 +0200
Karsten Hopp 2d6d8b
--- src/Make_mvc.mak	2013-05-19 16:38:29.000000000 +0200
Karsten Hopp 2d6d8b
***************
Karsten Hopp 2d6d8b
*** 20,26 ****
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
  #	!!!!  After changing features do "nmake clean" first  !!!!
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
! #       Feature Set: FEATURES=[TINY, SMALL, NORMAL, BIG, HUGE] (default is BIG)
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
  #	GUI interface: GUI=yes (default is no)
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
--- 20,26 ----
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
  #	!!!!  After changing features do "nmake clean" first  !!!!
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
! #	Feature Set: FEATURES=[TINY, SMALL, NORMAL, BIG, HUGE] (default is BIG)
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
  #	GUI interface: GUI=yes (default is no)
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
***************
Karsten Hopp 2d6d8b
*** 87,106 ****
Karsten Hopp 2d6d8b
  #	  GETTEXT=[yes or no]  (default is yes)
Karsten Hopp 2d6d8b
  #	See http://sourceforge.net/projects/gettext/
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
! #       PostScript printing: POSTSCRIPT=yes (default is no)
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
! #       Netbeans Support: NETBEANS=[yes or no] (default is yes if GUI is yes)
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
! #       XPM Image Support: XPM=[path to XPM directory]
Karsten Hopp 2d6d8b
! #       Default is "xpm", using the files included in the distribution.
Karsten Hopp 2d6d8b
! #       Use "no" to disable this feature.
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
! #       Optimization: OPTIMIZE=[SPACE, SPEED, MAXSPEED] (default is MAXSPEED)
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
! #       Processor Version: CPUNR=[i386, i486, i586, i686, pentium4] (default is
Karsten Hopp 2d6d8b
! #       i386)
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
! #       Version Support: WINVER=[0x0400, 0x0500] (default is 0x0400)
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
  #	Debug version: DEBUG=yes
Karsten Hopp 2d6d8b
  #	Mapfile: MAP=[no, yes or lines] (default is yes)
Karsten Hopp 2d6d8b
--- 87,106 ----
Karsten Hopp 2d6d8b
  #	  GETTEXT=[yes or no]  (default is yes)
Karsten Hopp 2d6d8b
  #	See http://sourceforge.net/projects/gettext/
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
! #	PostScript printing: POSTSCRIPT=yes (default is no)
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
! #	Netbeans Support: NETBEANS=[yes or no] (default is yes if GUI is yes)
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
! #	XPM Image Support: XPM=[path to XPM directory]
Karsten Hopp 2d6d8b
! #	Default is "xpm", using the files included in the distribution.
Karsten Hopp 2d6d8b
! #	Use "no" to disable this feature.
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
! #	Optimization: OPTIMIZE=[SPACE, SPEED, MAXSPEED] (default is MAXSPEED)
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
! #	Processor Version: CPUNR=[i386, i486, i586, i686, pentium4] (default is
Karsten Hopp 2d6d8b
! #	i386)
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
! #	Version Support: WINVER=[0x0400, 0x0500] (default is 0x0400)
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
  #	Debug version: DEBUG=yes
Karsten Hopp 2d6d8b
  #	Mapfile: MAP=[no, yes or lines] (default is yes)
Karsten Hopp 2d6d8b
***************
Karsten Hopp 2d6d8b
*** 108,117 ****
Karsten Hopp 2d6d8b
  #	  yes:   Write a normal mapfile.
Karsten Hopp 2d6d8b
  #	  lines: Write a mapfile with line numbers (only for VC6 and later)
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
! #       Netbeans Debugging Support: NBDEBUG=[yes or no] (should be no, yes
Karsten Hopp 2d6d8b
! #       doesn't work)
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
! #       Visual C Version: MSVCVER=m.n (default derived from nmake if undefined)
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
  # You can combine any of these interfaces
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
--- 108,119 ----
Karsten Hopp 2d6d8b
  #	  yes:   Write a normal mapfile.
Karsten Hopp 2d6d8b
  #	  lines: Write a mapfile with line numbers (only for VC6 and later)
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
! #	Netbeans Debugging Support: NBDEBUG=[yes or no] (should be no, yes
Karsten Hopp 2d6d8b
! #	doesn't work)
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
! #	Visual C Version: MSVCVER=m.n (default derived from nmake if undefined)
Karsten Hopp 2d6d8b
! #
Karsten Hopp 2d6d8b
! #	Static Code Analysis: ANALYZE=yes (works with VS2012 only)
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
  # You can combine any of these interfaces
Karsten Hopp 2d6d8b
  #
Karsten Hopp 2d6d8b
***************
Karsten Hopp 2d6d8b
*** 479,484 ****
Karsten Hopp 2d6d8b
--- 481,491 ----
Karsten Hopp 2d6d8b
  CFLAGS=$(CFLAGS) $(WP64CHECK)
Karsten Hopp 2d6d8b
  !endif
Karsten Hopp 2d6d8b
  
Karsten Hopp 2d6d8b
+ # Static code analysis generally available starting with VS2012
Karsten Hopp 2d6d8b
+ !if ("$(ANALYZE)" == "yes") && ("$(MSVCVER)" == "11.0")
Karsten Hopp 2d6d8b
+ CFLAGS=$(CFLAGS) /analyze
Karsten Hopp 2d6d8b
+ !endif
Karsten Hopp 2d6d8b
+ 
Karsten Hopp 2d6d8b
  CFLAGS = $(CFLAGS) $(OPTFLAG) -DNDEBUG $(CPUARG)
Karsten Hopp 2d6d8b
  RCFLAGS = $(rcflags) $(rcvars) -DNDEBUG
Karsten Hopp 2d6d8b
  ! ifdef USE_MSVCRT
Karsten Hopp 2d6d8b
*** ../vim-7.3.970/src/version.c	2013-05-19 19:16:25.000000000 +0200
Karsten Hopp 2d6d8b
--- src/version.c	2013-05-19 21:03:34.000000000 +0200
Karsten Hopp 2d6d8b
***************
Karsten Hopp 2d6d8b
*** 730,731 ****
Karsten Hopp 2d6d8b
--- 730,733 ----
Karsten Hopp 2d6d8b
  {   /* Add new patch number below this line */
Karsten Hopp 2d6d8b
+ /**/
Karsten Hopp 2d6d8b
+     971,
Karsten Hopp 2d6d8b
  /**/
Karsten Hopp 2d6d8b
Karsten Hopp 2d6d8b
Karsten Hopp 2d6d8b
-- 
Karsten Hopp 2d6d8b
It is illegal for a driver to be blindfolded while operating a vehicle.
Karsten Hopp 2d6d8b
		[real standing law in Alabama, United States of America]
Karsten Hopp 2d6d8b
Karsten Hopp 2d6d8b
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 2d6d8b
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 2d6d8b
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 2d6d8b
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///