ruby-changes:49632
From: ko1 <ko1@a...>
Date: Wed, 10 Jan 2018 01:27:56 +0900 (JST)
Subject: [ruby-changes:49632] ko1:r61746 (trunk): `signed` is required for Rasbian (x86_64).
ko1 2018-01-10 01:27:50 +0900 (Wed, 10 Jan 2018) New Revision: 61746 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61746 Log: `signed` is required for Rasbian (x86_64). * tool/ruby_vm/views/_insn_stack_increase.erb: specify `signed` explicitly for systems which use `unsigned` for `char` type. Modified files: trunk/tool/ruby_vm/views/_insn_stack_increase.erb Index: tool/ruby_vm/views/_insn_stack_increase.erb =================================================================== --- tool/ruby_vm/views/_insn_stack_increase.erb (revision 61745) +++ tool/ruby_vm/views/_insn_stack_increase.erb (revision 61746) @@ -23,7 +23,7 @@ insn_stack_increase_dispatch(enum ruby_v https://github.com/ruby/ruby/blob/trunk/tool/ruby_vm/views/_insn_stack_increase.erb#L23 }.join(', ') -%>, % end }; - char c = t[insn]; + signed char c = t[insn]; ASSERT_VM_INSTRUCTION_SIZE(t); if (c != -127) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/