jeromejj / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

There is another NMAKE version associated with VS2015RC #360

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a VS2015RC command window
2. Run nmake -f Make_mvc.mak

What is the expected output? What do you see instead?

I expect the MSVCVER variable to be set to 14.0. Instead, it is not detected 
correctly.

What version of the product are you using? On what operating system?

Apparently, after some updates, the nmake on my system sets _NMAKE_VER to 
14.00.22816.0.

Please provide any additional information below.

Proposed patch:

C:\...\src\vim\src> hg diff
diff -r 3772e430639e src/Make_mvc.mak
--- a/src/Make_mvc.mak  Tue May 05 10:25:16 2015 +0200
+++ b/src/Make_mvc.mak  Tue May 05 11:26:11 2015 -0400
@@ -446,7 +446,7 @@
 !if "$(_NMAKE_VER)" == "12.00.21005.1"
 MSVCVER = 12.0
 !endif
-!if "$(_NMAKE_VER)" == "14.00.22609.0"
+!if ("$(_NMAKE_VER)" == "14.00.22609.0") || ("$(_NMAKE_VER)" == 
"14.00.22816.0")
 MSVCVER = 14.0
 !endif
 !endif

With this change, the build proceeds to completion.

I am assuming the nmake version will be updated once again when the final 
release of VS 2015 happens.

-- Sinan

Original issue reported on code.google.com by sinan.u...@gmail.com on 5 May 2015 at 3:31

GoogleCodeExporter commented 9 years ago
fixed by 7.4.728

Original comment by chrisbr...@googlemail.com on 6 May 2015 at 3:33