From: Simon Wright <simon@pushface.org>
Subject: Re: Exception handling in Ada -> C++ call?
Date: Fri, 18 Oct 2013 15:46:56 +0100
Date: 2013-10-18T15:46:56+01:00 [thread overview]
Message-ID: <lyy55qprfj.fsf@pushface.org> (raw)
In-Reply-To: 269ef690-f594-4dda-b037-bf30e688dd2c@googlegroups.com
kevin.a.peterson@gmail.com writes:
> When I build this and run testada, I get "terminate called after
> throwing an instance of 'int'," which I expect, however the
> application doesn't actually exit but spins a core to 100% usage until
> I kill it. Also interesting: If I replace the try block with
On Mac OS X (ML, Darwin 12.5.0) it doesn't spin: with GCC 4.8.0,
$ ./testada
Calling TestCpp
terminate called after throwing an instance of 'int'
raised PROGRAM_ERROR : unhandled signal
and with GNAT GPL 2013,
$ ./testada
Calling TestCpp
libc++abi.dylib: terminate called throwing an exception
raised PROGRAM_ERROR : unhandled signal
next prev parent reply other threads:[~2013-10-18 14:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-18 13:53 Exception handling in Ada -> C++ call? kevin.a.peterson
2013-10-18 14:46 ` Simon Wright [this message]
2013-10-21 7:58 ` Egil H H
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox