On Sun, Jun 10, 2012 at 09:34:51PM +0200, Richard Kojedzinszky 
<[email protected]> 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_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      [email protected]
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to