Binding Libev with Digitalmars' D on windows

Chris Hulbert chris.hulbert at gmail.com
Tue Jun 10 02:07:45 CEST 2008


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 not known
    w->attr.st_nlink = 0;
                   ^
ev.c(2584) : Error: 'st_nlink' is not a member of undefined class '_stati64'
    w->attr.st_nlink = 0;
                   ^
ev.c(2584) : Warning 6: value of expression is not used
  else if (!w->attr.st_nlink)
     ^
ev.c(2585) : Error: '=', ';' or ',' expected
    w->prev.st_dev      != w->attr.st_dev
                 ^
ev.c(2601) : Error: 'st_dev' is not a member of undefined class '_stati64'
}
^
ev.c(2621) : Error: identifier or '( declarator )' expected
Fatal error: too many errors
--- errorlevel 1

On Tue, Jun 10, 2008 at 12:11 AM, Marc Lehmann <schmorp at schmorp.de> wrote:
> On Mon, Jun 09, 2008 at 04:02:52PM +0200, Marc Lehmann <schmorp at schmorp.de> 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 that
> should enbale ev_stat watchers - could you give it a try and report back
> wether they compile?
>
> --
>                The choice of a       Deliantra, the free code+content MORPG
>      -----==-     _GNU_              http://www.deliantra.net
>      ----==-- _       generation
>      ---==---(_)__  __ ____  __      Marc Lehmann
>      --==---/ / _ \/ // /\ \/ /      pcg at goof.com
>      -=====/_/_//_/\_,_/ /_/\_\
>



-- 

Regards, Chris
Email: chris.hulbert at gmail.com
Web: http://splinter.com.au
Phone: 0431 154 421



More information about the libev mailing list