LibEV and C++ exception pass through
Marc Lehmann
schmorp at schmorp.de
Mon Aug 27 06:48:21 CEST 2012
On Tue, Aug 21, 2012 at 04:00:28PM +0200, David Imhoff <dimhoff_devel at xs4all.nl> wrote:
> I don't know how other compilers/platforms deal with this.
Throwing exceptions through C code is not supported on most platforms.
You can, however, compile libev weith a C++ compiler, which should work
portably.
As for GCC, -fexceptions indeed reliably makes it work.
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / schmorp at schmorp.de
-=====/_/_//_/\_,_/ /_/\_\
More information about the libev
mailing list