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, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c406e0c4a6eb74ed X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!newsfeed.stueberl.de!news-FFM2.ecrc.net!News-Peer-Europe!news.stupi.se!newsfeed.sunet.se!news01.sunet.se!dd.chalmers.se!legolas.gidenstam.org!nobody From: anders@legolas.gidenstam.se (Anders Gidenstam) Newsgroups: comp.lang.ada Subject: Re: ADA Popularity Discussion Request Date: Sun, 12 Sep 2004 13:02:16 +0200 Organization: Chalmers University of Technology, Sweden Message-ID: References: <49dc98cf.0408110556.18ae7df@posting.google.com> <1198227.gWQ0keDDOY@linux1.krischik.com> Reply-To: anders-www@gidenstam.org NNTP-Posting-Host: zsh.cs.chalmers.se Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 1.0b.1 Xref: g2news1.google.com comp.lang.ada:3614 Date: 2004-09-12T13:02:16+02:00 List-Id: In article , Simon Wright writes: > kevin.cline@gmail.com (Kevin Cline) writes: > >> For example, I found this at http://www.gidenstam.org/Ada/: > >> This library, the Add Finalization Anywhere Library, provides a >> nice(?) way to add finalization to any (limited) tagged type at any >> level. The structure of the library is inspired by Christoph Karl >> Walter Grein's library for adding finalization to library level >> tagged types and my library is designed to integrate well with his. >> >> However, since declaring controlled types elsewhere than at the >> library level isn't supported by Ada there is a lot of hackish >> things going on inside the library. Currently, I don't know whether >> the these things work on any other compiler than GNAT 3.13p and >> whether they are at all sane." > > I'm pretty sure that Christophe's library only worked because of bugs > in GNAT 3.13p. > > The reference (after a _very_ strange compilation problem) loops with > 3.16a1; with 5.02a1 it does something which looks not unreasonable... Hi! Yes, my experiment (Add Finalization Anywhere, http://www.gidenstam.org/Ada/) is very much a hack and it does not work on GNAT 3.15p either. Do not use it for anything that needs to work! Btw, I suppose you meant "does something which looks unreasonable" above, right? :) (Or does it work with 5.02a?! That would be a suprise..) Best Regards, Anders Gidenstam -- "Luck is my middle name," said Rincewind, indistinctly. "Mind you, my first name is Bad." -- (Terry Pratchett, Interesting Times)