ev++.h fix
Richard Kojedzinszky
krichy at tvnetwork.hu
Wed May 9 20:46:01 CEST 2012
I dont understand, I am just calling that function, and it simply does not
compile. Maybe, I want to signal error conditions through an fd, or such,
or why is that function there at all if not for such?
regards,
Kojedzinszky Richard
Euronet Magyarorszag Informatikai Zrt.
On Wed, 9 May 2012, Marc Lehmann wrote:
> Date: Wed, 9 May 2012 17:56:23 +0200
> From: Marc Lehmann <schmorp at schmorp.de>
> To: Richard Kojedzinszky <krichy at tvnetwork.hu>
> Cc: libev at lists.schmorp.de
> Subject: Re: ev++.h fix
>
> 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
> -=====/_/_//_/\_,_/ /_/\_\
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: try.cpp
Type: text/x-c++src
Size: 416 bytes
Desc:
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20120509/f0d0cfe2/attachment.cpp>
More information about the libev
mailing list