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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d4b13594b8779b99 X-Google-Attributes: gid103376,public From: Stephen Leake Subject: Re: Improving Ada Exceptions Date: 1997/10/27 Message-ID: <3454A011.26A5@gsfc.nasa.gov>#1/1 X-Deja-AN: 285992665 References: <63072n$q6r$1@berlin.infomatch.com> Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Reply-To: Stephen.Leake@gsfc.nasa.gov Newsgroups: comp.lang.ada Date: 1997-10-27T00:00:00+00:00 List-Id: Ray Blaak wrote: > > > 01. Implementation complexity: Is this hard to do? Given that this is already > implemented in C++, and GNAT especially can take advantage of gcc's > implementation, is there something specific to Ada that would make it more > difficult? What about throwing controlled types? I don't think exceptions are "implemented in C++" yet. gnu g++ does not support them. In Borland C++ 5.02 for Windows 95, if you throw an exception from a constructor, the stack (or something) is corrupted, and you eventually crash the machine. My impression is that other implementations also have problems with C++ exceptions (I have not used any other implementations). Does anyone use a C++ implementation that actually supports all the semantics of the draft C++ standard exceptions? > -- > Cheers, The Rhythm is around me, > The Rhythm has control. > Ray Blaak The Rhythm is inside me, > blaak@infomatch.com The Rhythm has my soul. -- - Stephe