[#24112] ruby/tk crashes on bcc32 — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>

山本です。原因を追求してたのですが、力尽きました。

19 messages 2004/08/18
[#24127] Re: ruby/tk crashes on bcc32 — Hidetoshi NAGAI <nagai@...> 2004/08/19

永井@知能.九工大です.

[#24131] Re: ruby/tk crashes on bcc32 — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2004/08/19

山本です。

[#24135] Re: ruby/tk crashes on bcc32 — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2004/08/19

山本です。試行錯誤の結果、これで落ちなくなりました。

[ruby-dev:24132] Re: to compile tcltklib (bcc32)

From: "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
Date: 2004-08-19 08:30:55 UTC
List: ruby-dev #24132
山本です。

>でしたら,この部分はこんな感じですかね?
>-------------------------------------------------------
>#if TCL_MAJOR_VERSION < 8 || (TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION < 4)
>#  if !defined __MINGW32__ && !defined __BORLANDC__
>/*
> * The following variable is a special hack that is needed in order for
> * Sun shared libraries to be used for Tcl.
> */
>
>extern int matherr();
>int *tclDummyMathPtr = (int *) matherr;
>#  endif
>#endif
>-------------------------------------------------------

コンパイル通りました。

In This Thread

Prev Next