Patch 9.0.0857
Problem: Selecting MSVC 2017 does not set $PLATFORM.
Solution: Use $VSCMD_ARG_TGT_ARCH. (Ken Takata, closes #11485)
Files: src/Make_mvc.mak
*** ../vim-9.0.0856/src/Make_mvc.mak 2022-10-08 19:26:35.698195391 +0100
--- src/Make_mvc.mak 2022-11-10 23:13:48.843574422 +0000
***************
*** 222,229 ****
! endif
! else # !CPU
CPU = i386
! ! if !defined(PLATFORM) && defined(TARGET_CPU)
PLATFORM = $(TARGET_CPU)
! endif
! ifdef PLATFORM
! if ("$(PLATFORM)" == "x64") || ("$(PLATFORM)" == "X64")
--- 222,233 ----
! endif
! else # !CPU
CPU = i386
! ! ifndef PLATFORM
! ! ifdef TARGET_CPU
PLATFORM = $(TARGET_CPU)
+ ! elseif defined(VSCMD_ARG_TGT_ARCH)
+ PLATFORM = $(VSCMD_ARG_TGT_ARCH)
+ ! endif
! endif
! ifdef PLATFORM
! if ("$(PLATFORM)" == "x64") || ("$(PLATFORM)" == "X64")
*** ../vim-9.0.0856/src/version.c 2022-11-10 18:21:26.099027074 +0000
--- src/version.c 2022-11-10 23:15:34.783627495 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 857,
/**/
--
The 50-50-90 rule: Anytime you have a 50-50 chance of getting
something right, there's a 90% probability you'll get it wrong.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20221110231854.C8E491C03D0%40moolenaar.net.