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,75be2b2314dc7a03 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: AUnit Examples Fail Date: Sun, 15 Aug 2010 15:54:36 +0200 Organization: Ada At Home Message-ID: References: <2010081422160335270-rblove@airmailnet> NNTP-Posting-Host: lii8bauySSx0YHeDgKSgMg.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.61 (Win32) Xref: g2news1.google.com comp.lang.ada:13336 Date: 2010-08-15T15:54:36+02:00 List-Id: Le Sun, 15 Aug 2010 14:00:28 +0200, Simon Wright a = = =C3=A9crit: > I'd have thought you needed to just delete them? I wanted to change the less as possible, to be safe > I don't know what -gnatw.Xe means, gnatmake -h says "turn off warnings= > for non-local exception"! Me neither. I just know -gnatwa and -gnatwe. By the way I was wrong in t= he = previous post, as I wrote -gnatwe and -gnatw instead of -gnatwae and = -gnatwa (forget the "a"). It seems you can add multiple flags in the sam= e = place, like -gnatwae do: it has both the "All" and "as Error" flag. Ther= e = is also an .X and an .x for warnings about non-local exceptions. Just = guess the "e" appended to it means "as Error" as well. -- = There is even better than a pragma Assert: a SPARK --# check. --# check C and WhoKnowWhat and YouKnowWho; --# assert Ada; -- i.e. forget about previous premises which leads to conclusion -- and start with new conclusion as premise.