Re: libev development

2012-06-11 Thread Richard Kojedzinszky
Dear Marc, As that function is a template, it is only instantiated when used. I think I've sent you sample programs regarding the issue, but I'll attach another one: #include ev++.h int main() { ev::io x; x.feed_event(ev::READ); return 0; } Regards, Kojedzinszky

Re: libev development

2012-06-10 Thread Richard Kojedzinszky
Dear Marc, There was another short patch, to chang feed_event in ev++.h line 516 to use static_castev_watcher*, removing the const qualifier. Without that the code compiles, but with const gcc produces an error. Regards, Kojedzinszky Richard On Wed, 9 May 2012, Marc Lehmann wrote: On

Re: libev development

2012-05-09 Thread Marc Lehmann
On Tue, May 08, 2012 at 11:59:18PM +0200, Richard Kojedzinszky kri...@cflinux.hu wrote: Some time ago I reported some fixes for ev++.h. Mainly because it did not compile. And the fix was only to put some braces around some expressions, but browsing the code through cvs found that they are