Mercurial > vim
diff src/Make_mvc.mak @ 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 | 5c3064feddd7 |
children | 4b92012f6b18 |
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