ruby-changes:49677
From: shyouhei <ko1@a...>
Date: Fri, 12 Jan 2018 22:25:09 +0900 (JST)
Subject: [ruby-changes:49677] shyouhei:r61794 (trunk): suppress warning for VC12
shyouhei 2018-01-12 22:25:03 +0900 (Fri, 12 Jan 2018) New Revision: 61794 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61794 Log: suppress warning for VC12 It says "warning C4146: unary minus operator applied to unsigned type, result still unsigned" Modified files: trunk/insns.def Index: insns.def =================================================================== --- insns.def (revision 61793) +++ insns.def (revision 61794) @@ -610,7 +610,7 @@ adjuststack https://github.com/ruby/ruby/blob/trunk/insns.def#L610 (rb_num_t n) (...) (...) -// attr rb_snum_t sp_inc = -n; +// attr rb_snum_t sp_inc = -(rb_snum_t)n; { DEC_SP(n); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/