ruby-changes:49729
From: shyouhei <ko1@a...>
Date: Mon, 15 Jan 2018 16:32:53 +0900 (JST)
Subject: [ruby-changes:49729] shyouhei:r61846 (trunk): __declspec(align(#)) does not take sizeof()
shyouhei 2018-01-15 16:32:48 +0900 (Mon, 15 Jan 2018) New Revision: 61846 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61846 Log: __declspec(align(#)) does not take sizeof() same as r61833 Modified files: trunk/compile.c Index: compile.c =================================================================== --- compile.c (revision 61845) +++ compile.c (revision 61846) @@ -8077,7 +8077,7 @@ struct ibf_dump { https://github.com/ruby/ruby/blob/trunk/compile.c#L8077 rb_iseq_t * iseq_alloc(void); struct ibf_load { - const RUBY_ALIGNAS(sizeof(VALUE)) char *buff; + const RUBY_ALIGNAS(SIZEOF_VALUE) char *buff; const struct ibf_header *header; ID *id_list; /* [id0, ...] */ VALUE iseq_list; /* [iseq0, ...] */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/