ev++.h fix

Marc Lehmann schmorp at schmorp.de
Wed May 9 17:56:23 CEST 2012


On Tue, May 08, 2012 at 11:36:29PM +0200, Richard Kojedzinszky <krichy at tvnetwork.hu> wrote:
> I ran into a c++ compilation error, which came from ev++.h, in
> feed_event(). It is a non-const funtion, but inside a static_cast is
> made to const ev_watcher*, and with that the compiler dies with an
> error.

Can you give an example of an error that is caused by some legal code? As
it looks, you use ev++.h in unsupported ways, which means you are on your
own.

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



More information about the libev mailing list