[PATCH]: libev-3.8; ev++.h bug and warning fixes.

Marc Lehmann schmorp at schmorp.de
Sat Aug 29 08:46:03 CEST 2009


On Fri, Aug 28, 2009 at 08:41:43PM +0400, Konstantin Lepa <konstantin.lepa at gmail.com> wrote:
>> After fixing your code, it compiles fine on my system, and will do so 
>> on
>> freebsd as well.
>>
>
> Because you call method_thunk, but i use method_noargs_thunk.  Look:

No, it compiles because I use the _documented_ and _published_ API, while
you are using something else. The documentation is clear that your code
uses the wrong prototype.

Please read the documentation - I have written it for a reason.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      pcg at goof.com
      -=====/_/_//_/\_,_/ /_/\_\



More information about the libev mailing list