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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,23c0de5a42cf667e X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news4.google.com!feeder.news-service.com!feeder.erje.net!news.mixmin.net!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: GNAT packages in Linux distributions Date: Wed, 12 May 2010 01:44:23 +0200 Organization: Ada At Home Message-ID: References: <87mxw9x7no.fsf@ludovic-brenta.org> <16bz9kvbqa8y9$.155ntpwpwl29d.dlg@40tude.net> <4be97bea$0$2966$ba4acef3@reader.news.orange.fr> <4be98123$0$27617$ba4acef3@reader.news.orange.fr> <4be9814d$0$27617$ba4acef3@reader.news.orange.fr> NNTP-Posting-Host: EFpv4lnpRyjbMhM0po550g.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.53 (Win32) Xref: g2news2.google.com comp.lang.ada:11538 Date: 2010-05-12T01:44:23+02:00 List-Id: Le Tue, 11 May 2010 21:45:45 +0200, Yannick Duch=C3=AAne (Hibou57) = a =C3=A9crit: > This limitation (generics) may not be always true, as it seems there a= re = > some plans to change it : AdaCore and Praxis are working toward this. = = > Interested parties may have a look at this quick presentation : > http://mpri.master.univ-paris7.fr/stages-2010/20091104-154948/sujet-co= ntainers.pdf Hey Folks! I'm dreaming! I've just installed the last version of SPARK, started to play a bit wit= h = its basic principles on a test package, then, just to see what will = happened, turned the package into a generic. And you know what ? Yes, yo= u = guess : the SPARK examiner did not returned any error about it and just = = displayed the message About to call SetPackageIsGeneric P ThePackage P IS GENERIC I though it has simply drop the whole text, so I've introduced an error = on = purpose in the package, and it has complained about the error (a missing= = annotation for a procedure declaration), which is the proof that it did = = not drop the package text. Nice, looks promising. Well, that's just the examiner, that's not all the stuff (which I still = = need to learn)... anyway, I like that. Hope you will try too I will open a later thread about some SPARK stuffs (for questions, as I'= m = just beginning with it). P.S. Do not know what implies this =E2=80=9CAbout to call SetPackageIsGe= neric P=E2=80=9D, = just hope I do not have to bother for the time. -- = pragma Asset ? Is that true ? Waaww... great