mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
updated for version 7.3.971
Problem: No support for VS2012 static code analysis. Solution: Add the ANALYZE option. (Mike Williams)
This commit is contained in:
@@ -113,6 +113,8 @@
|
|||||||
#
|
#
|
||||||
# Visual C Version: MSVCVER=m.n (default derived from nmake if undefined)
|
# Visual C Version: MSVCVER=m.n (default derived from nmake if undefined)
|
||||||
#
|
#
|
||||||
|
# Static Code Analysis: ANALYZE=yes (works with VS2012 only)
|
||||||
|
#
|
||||||
# You can combine any of these interfaces
|
# You can combine any of these interfaces
|
||||||
#
|
#
|
||||||
# Example: To build the non-debug, GUI version with Perl interface:
|
# Example: To build the non-debug, GUI version with Perl interface:
|
||||||
@@ -479,6 +481,11 @@ OPTFLAG = $(OPTFLAG) /GL
|
|||||||
CFLAGS=$(CFLAGS) $(WP64CHECK)
|
CFLAGS=$(CFLAGS) $(WP64CHECK)
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
|
# Static code analysis generally available starting with VS2012
|
||||||
|
!if ("$(ANALYZE)" == "yes") && ("$(MSVCVER)" == "11.0")
|
||||||
|
CFLAGS=$(CFLAGS) /analyze
|
||||||
|
!endif
|
||||||
|
|
||||||
CFLAGS = $(CFLAGS) $(OPTFLAG) -DNDEBUG $(CPUARG)
|
CFLAGS = $(CFLAGS) $(OPTFLAG) -DNDEBUG $(CPUARG)
|
||||||
RCFLAGS = $(rcflags) $(rcvars) -DNDEBUG
|
RCFLAGS = $(rcflags) $(rcvars) -DNDEBUG
|
||||||
! ifdef USE_MSVCRT
|
! ifdef USE_MSVCRT
|
||||||
|
@@ -728,6 +728,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
971,
|
||||||
/**/
|
/**/
|
||||||
970,
|
970,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user