Issue #13033 has been updated by y mise.


I've just confirmed the patch fixed this issue. Many thanks.

----------------------------------------
Bug #13033: 2.4.0-rc1, build error with VS2015
https://bugs.ruby-lang.org/issues/13033#change-62053

* Author: y mise
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 2.4
* ruby -v: 
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
I got following error message when building 2.4.0-rc1 with Visual Studio 2015 update 3. Attached "rc1_output.txt" is full-length nmake output.
2.4.0-preview3 doesn't have this error.

`linking shared-library x64-vcruntime140-ruby240.dll
x64-vcruntime140-ruby240.def : error LNK2001: 外部シンボル "vsnprintf_s_l" は未解決です。
x64-vcruntime140-ruby240.def : error LNK2001: 外部シンボル "vsprintf_s_l" は未解決です。
dummy.lib : fatal error LNK1120: 2 件の未解決の外部参照
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio14.0\VC\BIN\amd64\cl.EXE"' : リターン コード '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio14.0\VC\BIN\amd64\nmake.EXE"' : リターン コ ード '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio14.0\VC\BIN\amd64\nmake.EXE"' : リターン コ ード '0x2'
Stop.`



---Files--------------------------------
rc1_output.txt (41.7 KB)


-- 
https://bugs.ruby-lang.org/