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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9da214e92ce675ce X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!out01b.usenetserver.com!news.usenetserver.com!in02.usenetserver.com!news.usenetserver.com!in03.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail Newsgroups: comp.lang.ada Subject: Re: AdaCL vs GNAT2007: "Deep_Tag_Finalize" not declared in "Finalization_Implementation" error References: <47568e1f$0$8055$bf4948fe@news.tele2.nl> From: Stephen Leake Date: Fri, 07 Dec 2007 01:52:05 -0500 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.1 (windows-nt) Cancel-Lock: sha1:fhGT1WhwksyDP6BYmGSddL6ifFw= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 72f474758ed8fe05e48ed27336 Xref: g2news1.google.com comp.lang.ada:18755 Date: 2007-12-07T01:52:05-05:00 List-Id: Erik J Pessers 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