[Libevent-users] Re: _EVUTIL_NIL_CONDITION cause VC2010 error C2070

2010-12-25 Thread Dongsheng Song
By the way, this patch no "unused variable" warnings: cl /Fobufferevent_async.obj /c bufferevent_async.c /MT /O2 /Ox /EHsc /W3 /DWIN32 /DNDEBUG /D_CRT_NONSTDC_NO_DEPRECATE /D_CRT_SECURE_NO_DEPRECATE /IWIN32-Code /Iinclude /Icompat /I. Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30

[Libevent-users] _EVUTIL_NIL_CONDITION cause VC2010 error C2070

2010-12-25 Thread Dongsheng Song
Hi Jones, Your commit b63ab17 caused VC2010 error C2070: bufferevent_async.c(409) : error C2070: 'unsigned int': illegal sizeof operand bufferevent_async.c(434) : error C2070: 'unsigned int': illegal sizeof operand bufferevent_async.c(473) : error C2070: 'unsigned int': illegal sizeof operand Be

[Libevent-users] Re: Libevent 2.0.10-stable is released

2010-12-25 Thread Dongsheng Song
Hi all, When I test with vc2010, static link passed all regress test, but dll version have may failed: [error FAILED] 127/164 TESTS FAILED. (2 skipped) E:\var\vcs\hg\draft\libevent-2.0.10-stable>scons ... E:\var\vcs\hg\draft\libevent-2.0.10-stable\test>regress main/methods: [forking] CreatePr