comp.lang.ada
 help / color / mirror / Atom feed
From: christoph.grein@eurocopter.com
To: comp.lang.ada@ada-france.org
Subject: Add Finalization
Date: Wed, 22 Sep 2004 15:02:43 +0200
Date: 2004-09-22T15:02:43+02:00	[thread overview]
Message-ID: <mailman.61.1095864720.390.comp.lang.ada@ada-france.org> (raw)

In article <x7vllfsa3mc.fsf@smaug.pushface.org>,
    Simon Wright <simon@pushface.org> 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.

Simon (I assume the above quote I found in another thread was correct,
so you wrote this)

Why on earth do you think this? My library for adding controlledness
to limited types works perfectly well.
I've updated the result file for recent compilers. The old Gnat version I
used when I wrote this library had bugs, so it did not produce the correct
result, but the Apex version was correct. Now Apex and Gnat produce the
same results as expected.

See http://home.t-online.de/home/christ-usch.grein/Ada/Finalization.html

Christoph



             reply	other threads:[~2004-09-22 13:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-22 13:02 christoph.grein [this message]
2004-09-22 21:59 ` Add Finalization Simon Wright
  -- strict thread matches above, loose matches on Subject: below --
2004-09-23  5:17 christoph.grein
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox