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=-0.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,47327673b9e29af0 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-19 07:32:39 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!HSNX.atgi.net!cyclone-sf.pbi.net!151.164.30.35!cyclone.swbell.net!bos-service1.ext.raytheon.com!bos-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3D1095F1.68DA0D0C@despammed.com> From: Wes Groleau Reply-To: wesgroleau@despammed.com X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,es-MX,es,pt,fr-CA,fr MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: exceptions and C functions (was Re: Ada -> C or C++ translator) References: <3D0DD57A.5000402@yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 19 Jun 2002 09:32:17 -0500 NNTP-Posting-Host: 151.168.144.162 X-Complaints-To: news@ext.ray.com X-Trace: bos-service2.ext.raytheon.com 1024497159 151.168.144.162 (Wed, 19 Jun 2002 10:32:39 EDT) NNTP-Posting-Date: Wed, 19 Jun 2002 10:32:39 EDT Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:26379 Date: 2002-06-19T09:32:17-05:00 List-Id: > > Can Ada exceptions cross C functions? E.g. if an Ada subprogram called > > a C function, which called an Ada subprogram which raised an exception, > > would the exception propagate across the C void? > > Yes. No. Unless the compiler vendors had taken steps to ensure this would happen. I think the answer is yes with gcc (cc1/gnat1) -- Wes Groleau http://freepages.rootsweb.com/~wgroleau