Re: Binding Libev with Digitalmars' D on windows

2008-06-19 Thread Marc Lehmann
On Tue, Jun 10, 2008 at 10:07:45AM +1000, Chris Hulbert [EMAIL PROTECTED] wrote: I've just downloaded the latest from CVS and uncommented the '#define EV_STAT_ENABLE 0' line from my myev.c as you requested, and i get the following compilation errors when using the DMC compiler: it seems

Re: Binding Libev with Digitalmars' D on windows

2008-06-18 Thread Matt Tolton
What is missing from io.h? I receive 'identifier not found' errors for the following when I remove the io.h include: _open_osfhandle _get_osfhandle write read close ___ libev mailing list libev@lists.schmorp.de

Re: Binding Libev with Digitalmars' D on windows

2008-06-17 Thread Marc Lehmann
On Tue, Jun 10, 2008 at 10:07:45AM +1000, Chris Hulbert [EMAIL PROTECTED] wrote: I've just downloaded the latest from CVS and uncommented the '#define EV_STAT_ENABLE 0' line from my myev.c as you requested, and i get the following compilation errors when using the DMC compiler: ah, you need

Re: Binding Libev with Digitalmars' D on windows

2008-06-17 Thread Chris Hulbert
No worries, when the next release comes just let me know if you still need me to test this. Cheers On Wed, Jun 18, 2008 at 10:53 AM, Marc Lehmann [EMAIL PROTECTED] wrote: On Tue, Jun 10, 2008 at 10:07:45AM +1000, Chris Hulbert [EMAIL PROTECTED] wrote: I've just downloaded the latest from CVS

Re: Binding Libev with Digitalmars' D on windows

2008-06-09 Thread Marc Lehmann
On Fri, Jun 06, 2008 at 04:10:45PM +1000, Chris Hulbert [EMAIL PROTECTED] wrote: If anyone's interested, some details are here, and i'd be interested to hear comments on how i've structured the code: http://splinter.com.au/blog/?p=15 That doesn't seem to be very difficult (when one knows this

Re: Binding Libev with Digitalmars' D on windows

2008-06-09 Thread Marc Lehmann
On Mon, Jun 09, 2008 at 04:02:52PM +0200, Marc Lehmann [EMAIL PROTECTED] wrote: I will look into probably disabling EV_STAT_ENABLE on win32 by default for the next release (you are not expected to have to do that yourself). Bollocks, it is supposed to work - I have checked in a patch to libev

Re: Binding Libev with Digitalmars' D on windows

2008-06-09 Thread Chris Hulbert
Hi Marc, I've just downloaded the latest from CVS and uncommented the '#define EV_STAT_ENABLE 0' line from my myev.c as you requested, and i get the following compilation errors when using the DMC compiler: ev_statdata prev; /* ro */ ^ ev.h(283) : Error: size of _stati64 is

Binding Libev with Digitalmars' D on windows

2008-06-06 Thread Chris Hulbert
Hi, After much mucking around, i've finally gotten Libev, D, and Windows to all play nicely (in other words, compile and runs and serves a simple webpage successfully). I'm using the D bindings from here:

Re: Binding Libev with Digitalmars' D on windows

2008-06-06 Thread Leandro Lucarella
Chris Hulbert, el 6 de junio a las 16:10 me escribiste: Hi, After much mucking around, i've finally gotten Libev, D, and Windows to all play nicely (in other words, compile and runs and serves a simple webpage successfully). I'm using the D bindings from here:

Re: Binding Libev to Digitalmars' D

2008-06-02 Thread Marc Lehmann
On Tue, Jun 03, 2008 at 02:08:46PM +1000, Chris Hulbert [EMAIL PROTECTED] wrote: When it runs, I get the following error: Assertion failure: '(libev only supports socket fds in this configuration, ioctlsocket (anfd-handle, FIONREAD, argp) == 0)' on line 710 in file 'ev.c' Windows is

Re: libeio, Windows (was: Binding Libev to Digitalmars' D)

2008-06-02 Thread Tony Arcieri
Also, any plans on providing a C++ interface to libeio? There's a C++ project I'm interested to integrating it into and it'd be great to have a C++ face on it. -- Tony Arcieri medioh.com ___ libev mailing list libev@lists.schmorp.de

Re: libeio, Windows (was: Binding Libev to Digitalmars' D)

2008-06-02 Thread Marc Lehmann
On Mon, Jun 02, 2008 at 10:57:07PM -0600, Tony Arcieri [EMAIL PROTECTED] wrote: Also, any plans on providing a C++ interface to libeio? I can slap an extern C somewhere in the header file. Actually, done already, so the c++ interface would be the same as the C interface for now :) project I'm