comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: AdaCL vs GNAT2007: "Deep_Tag_Finalize" not declared in "Finalization_Implementation" error
Date: Fri, 07 Dec 2007 01:52:05 -0500
Date: 2007-12-07T01:52:05-05:00	[thread overview]
Message-ID: <ufxyf80a2.fsf@stephe-leake.org> (raw)
In-Reply-To: 47568e1f$0$8055$bf4948fe@news.tele2.nl

Erik J Pessers <vt6145886@tele2allin.be> writes:

> Trying GNAT2007 iso the GCC GNAT compiler poses one issue: the Ada
> code I'm using relies on the ADACL library, and in particular the CG
> (garbage collection) modules. These seem to depend on a routine
> "Deep_Tag_Finalize" which is available in the Debian distro
> gcc-gnat compiler, but does not seem to be available in Gnat2007
> (scanned the adainclude directory but found no match).
>
> Compiling using Gnat2007 results in:
>
>     bash-3.1$ gnatmake utils-booleans-dsc
>     gcc -c -gnato -fstack-check -O2 utils-booleans-dsc.adb
>     ...
>     gcc -c -gnato -fstack-check -O2 adacl.ads
>     gcc -c -gnato -fstack-check -O2 adacl-gc.adb
>     adacl-gc.adb:105:13: "Deep_Tag_Finalize" not declared in \
>        "Finalization_Implementation"
>     gnatmake: "adacl-gc.adb" compilation error

Since "Finalization_Implementation" is _not_ a standard Ada package,
but is a compiler-specific package, the best solution is for ADACL to
stop using it.

Why does ADACL need it? 

Alternately, you may be able to simply copy the source for
Deep_Tag_Finalize, and put it in an ADACL package.

-- 
-- Stephe



  parent reply	other threads:[~2007-12-07  6:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-05 11:40 AdaCL vs GNAT2007: "Deep_Tag_Finalize" not declared in "Finalization_Implementation" error Erik J Pessers
2007-12-05 12:57 ` Ludovic Brenta
2007-12-05 15:03   ` Erik J Pessers
2007-12-05 20:43     ` Ludovic Brenta
2007-12-07 14:24   ` Martin Krischik
2007-12-07  6:52 ` Stephen Leake [this message]
2007-12-07 18:45   ` Simon Wright
2007-12-08  8:24     ` Martin Krischik
2007-12-07 14:22 ` Martin Krischik
replies disabled

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