Issue #9338 has been reported by phasis68 (Heesob Park).

----------------------------------------
Bug #9338: Build failure of trunk with MSVC 2013
https://bugs.ruby-lang.org/issues/9338

Author: phasis68 (Heesob Park)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby-2.2.0-r44473
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN


The revision r44473 introduced the following error.

compiling eval.c
eval.c
eval.c(558) : error C4028: formal parameter 3 different from declaration
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\x86_amd64\cl.EXE"' : return code '0x2'
Stop.

You can see this issue also in http://rubyci.org (http://ruby-mswin.cloudapp.net/vc10-x64/ruby-trunk/log/20131231T144935Z.log.html.gz)

Here is patch

diff --git a/eval.c b/eval.c
index 783aa33..b3c4100 100644
--- a/eval.c
+++ b/eval.c
@@ -554,7 +554,7 @@ setup_exception(rb_thread_t *th, int tag, volatile VALUE mesg, VALUE cause)
 }
 
 static void
-rb_longjmp(int tag, volatile VALUE mesg, VALUE cause)
+rb_longjmp(int tag, volatile VALUE mesg, volatile VALUE cause)
 {
     rb_thread_t *th = GET_THREAD();
     setup_exception(th, tag, mesg, cause);




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