[前][次][番号順一覧][スレッド一覧][生データ]

yarv-dev-en:27

From: SASADA Koichi <ko1 atdot.net>
Date: Sun, 29 Jan 2006 11:52:19 +0900
Subject: [yarv-dev-en:27] fixed> Re: open> Cannot compile revision 356 with mingw

Hi,

I fixed it.

gabriele renzi wrote:
> It seem that there is an error in thread_win32.h if I
> try to compile it with mingw I get:
> In file included from thread.c:67:
> thread_win32.h: In function `timer_thread_func':
> thread_win32.h:210: error: structure has no member
> named `interrupt_flag'
> 
> 
> I think this could be a typo, and that maybe it should
> be
> 
> --- thread_win32.h	(revision 356)
> +++ thread_win32.h	(working copy)
> @@ -207,7 +207,7 @@
>    thread_debug("timer_thread: %p\n",
> GetCurrentThreadId());
>    while(system_working){
>      Sleep(WIN32_WAIT_TIMEOUT);
> -    GET_VM()->interrupt_flag = 1;
> +    GET_VM()->running_thread->interrupt_flag = 1;
>    }
>    return 0;
>  }
> 
> It seem tests run fine but they do it even if I
> completely remove the line, so I think some more tests
> are needed. 
> 
> OS: winxp pro sp2
> CPU: athlon XP 2000+
> CC: gcc version 3.4.2 (mingw-special), Thread model:
> win32
> 
> 


-- 
// SASADA Koichi at atdot dot net


-- 
ML: yarv-dev-en quickml.atdot.net
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧][生データ]

        23 2006-01-11 22:12 [surrender_it yahoo.i] open> Cannot compile revision 356 with mingw
->      27 2006-01-29 11:52 ┗[ko1 atdot.net       ] fixed> Re: open> Cannot compile revision 356 with mingw