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: g2news1.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: ANN: Ahven 1.8 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> Date: Mon, 07 Jun 2010 04:26:51 -0400 Message-ID: <82ocfnp7sk.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) Cancel-Lock: sha1:ZsBckT5XNN6FrOPXFqqrDPKUPe0= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 810d54c0cad6ce197caa702364 Xref: g2news1.google.com comp.lang.ada:11391 Date: 2010-06-07T04:26:51-04: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. True. I have no idea how many people use the old language. I should think the only reason to do that is for compatibility with a different compiler. And even then, the language version is not likely to be an issue. For example, I used to program in DDC Ada for an embedded computer, but GNAT for development and unit test. I used GNAT in Ada 95 mode, while DDC was Ada 83. No problems. > 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; No, the main objection is that it is different than upstream. I don't have access to the AUnit test suite. I don't want to fork. -- -- Stephe