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,2273a296de8c1b6d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!217.73.144.44.MISMATCH!ecngs!feeder.ecngs.de!news.k-dsl.de!eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: ANN: Ahven 1.8 Date: Sun, 06 Jun 2010 17:45:14 +0100 Organization: A noiseless patient Spider Message-ID: 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 16:45:15 +0000 (UTC) Injection-Info: mx01.eternal-september.org; posting-host="KCXegvZb5vh43D+f3BR6Ew"; logging-data="30538"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Zjy3zzfA/DKwNTeM54ir5NaZY5eG56Fc=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin) Cancel-Lock: sha1:cbsOGsuqi6C+OF/Napum7HxACXM= sha1:ejb43BGu9XRmmr50xQaiJkP4SO4= Xref: g2news2.google.com comp.lang.ada:12334 Date: 2010-06-06T17:45:14+01:00 List-Id: 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. --S