libev development

Marc Lehmann schmorp at
Sun Jun 10 21:49:52 CEST 2012

On Sun, Jun 10, 2012 at 09:34:51PM +0200, Richard Kojedzinszky <krichy at> wrote:
> There was another short patch, to chang feed_event in ev++.h line 516
> to use static_cast<ev_watcher*>, removing the const qualifier.
> Without that the code compiles, but with const gcc produces an error.

gcc compiles the code just fine with or without const - which version of gcc
does not compile that code? do you have an example program? Are you sure you
are not calling that method (which would be a bug in whatever calls it).

note that a number of c++ programs use that file (e.g. rxvt-unicode) without
any trouble.

                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_    
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at
      -=====/_/_//_/\_,_/ /_/\_\

More information about the libev mailing list