[前][次][番号順一覧][スレッド一覧]

ruby-changes:54021

From: naruse <ko1@a...>
Date: Thu, 6 Dec 2018 19:02:08 +0900 (JST)
Subject: [ruby-changes:54021] naruse:r66241 (trunk): refix of r66200

naruse	2018-12-06 19:02:04 +0900 (Thu, 06 Dec 2018)

  New Revision: 66241

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66241

  Log:
    refix of r66200
    
    Though internal.h has the prototype, it still shows symbol lookup error...
    https://rubyci.org/logs/rubyci.s3.amazonaws.com/icc-x64/ruby-trunk/log/20181206T050002Z.fail.html.gz

  Modified files:
    trunk/include/ruby/ruby.h
    trunk/internal.h
Index: include/ruby/ruby.h
===================================================================
--- include/ruby/ruby.h	(revision 66240)
+++ include/ruby/ruby.h	(revision 66241)
@@ -2163,6 +2163,11 @@ rb_array_const_ptr(VALUE a) https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L2163
     return rb_array_const_ptr_transient(a);
 }
 
+/* fix related to r66200 */
+#ifdef __INTEL_COMPILER
+VALUE *rb_ary_ptr_use_start(VALUE ary);
+#endif
+
 /* internal function. do not use this function */
 static inline VALUE *
 rb_array_ptr_use_start(VALUE a, int allow_transient)
Index: internal.h
===================================================================
--- internal.h	(revision 66240)
+++ internal.h	(revision 66241)
@@ -1296,7 +1296,6 @@ VALUE rb_to_array_type(VALUE obj); https://github.com/ruby/ruby/blob/trunk/internal.h#L1296
 VALUE rb_check_to_array(VALUE ary);
 VALUE rb_ary_tmp_new_from_values(VALUE, long, const VALUE *);
 VALUE rb_ary_behead(VALUE, long);
-VALUE *rb_ary_ptr_use_start(VALUE ary);
 #if defined(__GNUC__) && defined(HAVE_VA_ARGS_MACRO)
 #define rb_ary_new_from_args(n, ...) \
     __extension__ ({ \

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]