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: 103376,9cab22a6da953999,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Received: by 10.68.238.198 with SMTP id vm6mr6615083pbc.3.1329484671601; Fri, 17 Feb 2012 05:17:51 -0800 (PST) Path: wr5ni35777pbc.0!nntp.google.com!news1.google.com!news.glorb.com!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Ada 2012, ASIS and AdaControl Date: Fri, 17 Feb 2012 14:17:50 +0100 Organization: Ada @ Home Message-ID: NNTP-Posting-Host: g5KXXei1ehLN149F0y/3gg.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/11.61 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Date: 2012-02-17T14:17:50+01:00 List-Id: Hi people out there, I get into troubles with AdaControl many times I use an Ada 2012 = construct, like this one (just a short real example): pragma Assert (for all D in Digit_Type =3D> Digit (Digit_Image (D)) = =3D D); Running AdaControl on the package body containing the above, ends with = this: AdaCtl version: 1.13r8 with ASIS 2.0.R for GNAT 4.7.0 20111119 = (experimental) ASIS error: ASIS.EXCEPTIONS.ASIS_FAILED In rule : STYLE For unit : IPV4.BYTES.IMAGES Status : NOT_IMPLEMENTED_ERROR Diagnosis: Not Implemented Query: That's frustrating, do I have to forget about AdaControl (which I like a= = lot) or about the Ada 2012 construct (which I like as much) which make i= t = failed? How do you, people, deal with this? The above Assert statement a= ct = as much as documentation as an opportunity for a real check. I could = comment it out, but would lose any relevance. Comments are nice, but = checked self=E2=80=91explained expressions are far better. That's obviou= sly not = critical, but that's a lot of frustrations, and I get it every time. I am also wondering if this is due to ASIS=E2=80=91for=E2=80=91GNAT impl= ementation or to = the actual status of the ASIS standard (a long time I did use it, so I'm= = aware of how it currently go). This may be the most relevant question he= re. -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity