[#11952] NORETURN — "Nobuyoshi.Nakada" <nobu.nakada@...>

なかだです。

24 messages 2001/01/10
[#11956] Re: NORETURN — WATANABE Hirofumi <eban@...> 2001/01/10

わたなべです.

[#11957] Re: NORETURN — matz@... (Yukihiro Matsumoto) 2001/01/10

まつもと ゆきひろです

[#11958] Re: NORETURN — WATANABE Hirofumi <eban@...> 2001/01/10

わたなべです.

[#11959] CVS branches (Re: Re: NORETURN) — matz@... (Yukihiro Matsumoto) 2001/01/10

[#12087] string#index, gsub, []= のバグ? — Beyond <beyond@...>

18 messages 2001/01/27
[#12091] Re: string#index, gsub, []= のバグ? — matz@... (Yukihiro Matsumoto) 2001/01/27

まつもと ゆきひろです

[ruby-dev:11950] [PATCH] inline function

From: "Nobuyoshi.Nakada" <nobu.nakada@...>
Date: 2001-01-10 02:49:58 UTC
List: ruby-dev #11950
なかだです。

  昨夜 commit された gc.c が inline の通らない処理系(gcc 以外?)でエラー
になります。


Index: gc.c
===================================================================
RCS file: /home/nokada/cvs/ruby/gc.c,v
retrieving revision 1.48.2.4
diff -p -u -w -r1.48.2.4 gc.c
--- gc.c	2001/01/09 08:19:42	1.48.2.4
+++ gc.c	2001/01/10 01:04:25
@@ -315,7 +315,10 @@ rb_data_object_alloc(klass, datap, dmark
 extern st_table *rb_class_tbl;
 VALUE *rb_gc_stack_start = 0;
 
-static inline int
+#if defined(__GNUC__) && __GNUC__ >= 2
+__inline__
+#endif
+static int
 is_pointer_to_heap(ptr)
     void *ptr;
 {


-- 
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
    中田 伸悦

In This Thread

Prev Next