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

ruby-changes:36171

From: nobu <ko1@a...>
Date: Mon, 3 Nov 2014 15:22:33 +0900 (JST)
Subject: [ruby-changes:36171] nobu:r48252 (trunk): ext/tk/tkutil/tkutil.c: disable untyped data warnings

nobu	2014-11-03 15:22:16 +0900 (Mon, 03 Nov 2014)

  New Revision: 48252

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

  Log:
    ext/tk/tkutil/tkutil.c: disable untyped data warnings

  Modified files:
    trunk/ext/tk/tkutil/tkutil.c
Index: ext/tk/tkutil/tkutil.c
===================================================================
--- ext/tk/tkutil/tkutil.c	(revision 48251)
+++ ext/tk/tkutil/tkutil.c	(revision 48252)
@@ -23,6 +23,9 @@ static int rb_thread_critical; /* dummy https://github.com/ruby/ruby/blob/trunk/ext/tk/tkutil/tkutil.c#L23
 #include "st.h"
 #endif
 
+#undef RUBY_UNTYPED_DATA_WARNING
+#define RUBY_UNTYPED_DATA_WARNING 0
+
 #if !defined(RHASH_TBL)
 #define RHASH_TBL(h) (RHASH(h)->tbl)
 #endif

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

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