[Yarv-devel] Warning on win32

gabriele renzi surrender_it at yahoo.it
Fri Oct 28 20:29:47 EDT 2005


Hi list,

I just tried compiling the latest revision on win32,
and I get this warnings:

In file included from thread.c:67:
thread_win32.h: In function `native_thread_crteate':
thread_win32.h:196: warning: passing arg 3 of
`_beginthreadex' from incompatible
 pointer type
thread_win32.h: In function `make_timer_thread':
thread_win32.h:222: warning: passing arg 3 of
`_beginthreadex' from incompatible
 pointer type

which I think means that 
timer_thread_func() and thread_start_func_1() should
be declared as returning "unsigned int" not "int".
 
The point is that all tests pass anyway, whatever the
declaration is, which IMHO means that:
- we can make the compiler happy by changing
declarations
- or the test suite is missing a test that should
cause failing :)

Additional info:
OS: winxp SP2
cc: gcc version 3.4.2 (mingw-special, Thread model:
win32)
CPU: Athlon XP
YARV: revision 283


icq #69488917


	

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


More information about the Yarv-devel mailing list