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

yarv-dev-en:23

From: gabriele renzi <surrender_it yahoo.it>
Date: Wed, 11 Jan 2006 05:12:21 -0800 (PST)
Subject: [yarv-dev-en:23] open> Cannot compile revision 356 with mingw

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


-- 
icq:  #69488917
blog: http://riffraff.blogsome.com


	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it

-- 
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