[#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:11962] Re: NORETURN

From: WATANABE Hirofumi <eban@...>
Date: 2001-01-10 08:19:03 UTC
List: ruby-dev #11962
わたなべです.

"Nobuyoshi.Nakada" <nobu.nakada@nifty.ne.jp> writes:

:  今のは単に無視しちゃうようですよ。__attribute__((noreturn)) なら最後の 
:xorl が消えますから。

なるほど。info gcc したら

     The attribute `noreturn' is not implemented in GNU C versions
     earlier than 2.5.  An alternative way to declare that a function
     does not return, which works in the current version and in some
     older versions, is as follows:

          typedef void voidfn ();
          
          volatile voidfn fatal;

とあったので、まだ有効だと思ってました。

:  たしかに。VC 用とあわせて configure.in はこんな感じでしょうか。

djgpp/config.hin と win32/win32.h あたりも含めて、
そのまま commit しました。

-- 
わたなべひろふみ

In This Thread