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

ruby-changes:18144

From: nobu <ko1@a...>
Date: Fri, 10 Dec 2010 20:17:46 +0900 (JST)
Subject: [ruby-changes:18144] Ruby:r30165 (trunk): * template/id.h.tmpl (ruby_method_ids): suppress warnings.

nobu	2010-12-10 20:05:52 +0900 (Fri, 10 Dec 2010)

  New Revision: 30165

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

  Log:
    * template/id.h.tmpl (ruby_method_ids): suppress warnings.
      [ruby-dev:42730]

  Modified files:
    trunk/ChangeLog
    trunk/template/id.h.tmpl

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 30164)
+++ ChangeLog	(revision 30165)
@@ -1,3 +1,8 @@
+Fri Dec 10 20:05:42 2010  Nobuyoshi Nakada  <nobu@r...>
+
+	* template/id.h.tmpl (ruby_method_ids): suppress warnings.
+	  [ruby-dev:42730]
+
 Fri Dec 10 18:29:20 2010  Nobuyoshi Nakada  <nobu@r...>
 
 	* ruby.c (ruby_init_loadpath_safe): relatively called non-shared
Index: template/id.h.tmpl
===================================================================
--- template/id.h.tmpl	(revision 30164)
+++ template/id.h.tmpl	(revision 30165)
@@ -101,13 +101,13 @@
     t__send__,
     tInitialize,
     tUScore,
-#if SUPPORT_JOKE
+#if defined SUPPORT_JOKE && SUPPORT_JOKE
     tBitblt,
     tAnswer,
 #endif
     tLAST_ID,
 #define TOKEN2ID(n) id##n = ((t##n<<ID_SCOPE_SHIFT)|ID_LOCAL)
-#if SUPPORT_JOKE
+#if defined SUPPORT_JOKE && SUPPORT_JOKE
     TOKEN2ID(Bitblt),
     TOKEN2ID(Answer),
 #endif

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

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