Bug in C++ wrapper

Raphael 'kena' Poss r.poss at uva.nl
Mon Sep 8 21:58:17 CEST 2014


Dear all,

ev.h since modified in 4.15 is currently invalid when used from C++: it includes exception information (throw()) for the typedef ev_loop_callback_nothrow, which is not legal in C++.

throw() is not part of a function's type, so it cannot be captured by typedef.

The correct fix is to remove EV_THROW on that particular typedef.

Best regards,

-- 
Raphael 'kena' Poss · r.poss at uva.nl
http://science.raphael.poss.name/



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: Dit deel van het bericht is digitaal ondertekend
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20140908/791289b3/attachment.sig>


More information about the libev mailing list