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

ruby-changes:36613

From: nobu <ko1@a...>
Date: Wed, 3 Dec 2014 13:04:15 +0900 (JST)
Subject: [ruby-changes:36613] nobu:r48694 (trunk): tcltklib.c: revert RUBY_UNTYPED_DATA_WARNING

nobu	2014-12-03 13:04:02 +0900 (Wed, 03 Dec 2014)

  New Revision: 48694

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

  Log:
    tcltklib.c: revert RUBY_UNTYPED_DATA_WARNING
    
    * ext/tk/tcltklib.c (RUBY_UNTYPED_DATA_WARNING): Data_Get_Struct
      is not affected.

  Modified files:
    trunk/ext/tk/tcltklib.c
Index: ext/tk/tcltklib.c
===================================================================
--- ext/tk/tcltklib.c	(revision 48693)
+++ ext/tk/tcltklib.c	(revision 48694)
@@ -20,11 +20,7 @@ https://github.com/ruby/ruby/blob/trunk/ext/tk/tcltklib.c#L20
 #endif
 
 #undef RUBY_UNTYPED_DATA_WARNING
-#ifdef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P
-#define RUBY_UNTYPED_DATA_WARNING 1
-#else
 #define RUBY_UNTYPED_DATA_WARNING 0
-#endif
 
 #ifdef HAVE_RB_THREAD_CHECK_TRAP_PENDING
 static int rb_thread_critical; /* dummy */

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

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