From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.111.227 with SMTP id il3mr1983477obb.41.1382342328173; Mon, 21 Oct 2013 00:58:48 -0700 (PDT) X-Received: by 10.182.135.227 with SMTP id pv3mr10450obb.26.1382342328002; Mon, 21 Oct 2013 00:58:48 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!o2no16969670qas.0!news-out.google.com!9ni62319qaf.0!nntp.google.com!o2no16969664qas.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 21 Oct 2013 00:58:47 -0700 (PDT) In-Reply-To: <269ef690-f594-4dda-b037-bf30e688dd2c@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.71.180.107; posting-account=uulyKwoAAAA86DO0ODu--rZtbje8Sytn NNTP-Posting-Host: 193.71.180.107 References: <269ef690-f594-4dda-b037-bf30e688dd2c@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2fccadd8-27d6-426d-9a50-987d7a369513@googlegroups.com> Subject: Re: Exception handling in Ada -> C++ call? From: Egil H H Injection-Date: Mon, 21 Oct 2013 07:58:48 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:17489 Date: 2013-10-21T00:58:47-07:00 List-Id: On Friday, October 18, 2013 3:53:27 PM UTC+2, kevin.a....@gmail.com wrote: > Hi, I'm having problems with an Ada program I've been working on. This Ada > program makes a call to a C++ library, and the C++ call has a try/catch block. > I think my problem boils down to uncaught exceptions hanging on the c++ side > hanging the program. This code demonstrates the issue: You may want to take a look at this gem: http://www.adacore.com/adaanswers/gems/gem-114-ada-and-c-exceptions/