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: a07f3367d7,2273a296de8c1b6d X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.78.MISMATCH!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: ANN: Ahven 1.8 Date: Sun, 06 Jun 2010 19:48:29 +0200 Organization: A noiseless patient Spider Message-ID: <87d3w4rr0y.fsf@ludovic-brenta.org> References: <20100602192413.ff36db38.tero.koskinen@iki.fi> <82ocfs1fpv.fsf@stephe-leake.org> <357172d2-0e3f-4700-bcbb-3351f93c8372@s1g2000prf.googlegroups.com> <827hmf17i8.fsf@stephe-leake.org> <20100604183708.2ff8bfd3.tero.koskinen@iki.fi> <87d3w5thkw.fsf@ludovic-brenta.org> <82vd9wxrys.fsf@stephe-leake.org> <87mxv8rv35.fsf@ludovic-brenta.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Sun, 6 Jun 2010 17:48:29 +0000 (UTC) Injection-Info: mx01.eternal-september.org; posting-host="xQdZLZOqwvsmX4x7P9YvZw"; logging-data="13467"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19OLd3ebUaU5t3Bw23kMMZg" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:nhm7suX6AOyQ+Q07dQEB9o1slug= sha1:v70TSRVr+4pfeJ0Enrx01cy1KGg= Xref: g2news2.google.com comp.lang.ada:12340 Date: 2010-06-06T19:48:29+02:00 List-Id: Simon Wright writes on comp.lang.ada: > Ludovic Brenta writes: > >> Stephen Leake writes: >>> Ludovic Brenta writes: >>> >>>> Simon Wright writes: >>>>> Tero Koskinen writes: >>>>> >>>>>> * AUnit is Ada 2005 code only and I think it can be compiled >>>>>> only with GNAT (not 100% sure since I haven't tried it with >>>>>> other Ada 2005 compilers) >>>>> >>>>> The 2005-ness occurs because AUnit uses a private copy of >>>>> Ada.Containers.Lists with some 05 constructs removed so that it can be >>>>> compiled with "an" Ada 95 compiler. >>>>> >>>>> Unfortunately, what they mean is "with an Ada 95 compiler that >>>>> recognises pragma Ada_2005 to mean that some Ada 2005 constructs are >>>>> permitted even when compiling in Ada 95 mode". >>>>> >>>>> This doesn't include older GNATs, and certainly won't include compilers >>>>> from other vendors. >>>>> >>>>> These patches update the current SVN source of AUnit to work with older >>>>> GNATs. Ask me if you need a copy and the news system has mangled them or >>>>> I've failed to drive Emacs correctly ... >>>> >>>> Stephe, how about applying this patch to Debian's version of AUnit? >>> >>> I don't see why. Debian supports the current version of GNAT, which >>> supports the current Debian version (and newer AdaCore versions) of >>> AUnit. >> >> The current version of GNAT (in Debian) allows compiling Ada 83, Ada 95 >> and Ada 2005 programs. I think that allowing Ada 95 programs to use >> AUnit is better than forbidding this. So the main objection is that >> this patch requires changing the aliversion; I would undertand that you >> wouldn't want to do that. > > Ludovic, > > I think it's very likely that the current Debian GNAT supports AUnit 3's > use of this pragma, even in -gnat95 mode ... OK, just tried in a VM > running (sorry for my ignorance about the Debian release name) Debian 5, > GNAT 4.3.2, and it says .. > > simon@nidhoggr-d:/mnt/hgfs/simon/AUnit-svn/aunit/containers$ gnatmake -gnat95 ada_containers-aunit_lists.adb -c -u -f -I../framework > gcc-4.3 -c -gnat95 -I../framework ada_containers-aunit_lists.adb > simon@nidhoggr-d:/mnt/hgfs/simon/AUnit-svn/aunit/containers$ > > which looks good to me. So no need for any change. OK, thanks a lot for checking this. -- Ludovic Brenta.