Mercurial > vim
changeset 5462:42927712b3d9 v7.4.081
updated for version 7.4.081
Problem: Wrong logic when ANALYZE is "yes".
Solution: Use or instead of and. (KF Leong)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 09 Nov 2013 02:32:18 +0100 |
parents | 6dca6ae28194 |
children | 3d194611edad |
files | src/Make_mvc.mak src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Make_mvc.mak +++ b/src/Make_mvc.mak @@ -488,7 +488,7 @@ CFLAGS=$(CFLAGS) $(WP64CHECK) !endif # Static code analysis generally available starting with VS2012 -!if ("$(ANALYZE)" == "yes") && ("$(MSVCVER)" == "11.0") && ("$(MSVCVER)" == "12.0") +!if ("$(ANALYZE)" == "yes") && (("$(MSVCVER)" == "10.0") || ("$(MSVCVER)" == "11.0") || ("$(MSVCVER)" == "12.0")) CFLAGS=$(CFLAGS) /analyze !endif