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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,78447032bdbeb343 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!postnews.google.com!z72g2000hsb.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Santiago_Urue=F1a?= Newsgroups: comp.lang.ada Subject: Re: Proposal: pragma Assumption Date: Wed, 28 May 2008 06:14:17 -0700 (PDT) Organization: http://groups.google.com Message-ID: <180f66f9-0034-4719-bd9b-4079aefd0938@z72g2000hsb.googlegroups.com> References: <30917be5-1446-417c-8a4e-18b2f9a1f420@b1g2000hsg.googlegroups.com> <13aa4422-c478-478e-8e33-882508d9d1f8@k30g2000hse.googlegroups.com> <483d2259$0$6611$9b4e6d93@newsspool2.arcor-online.net> NNTP-Posting-Host: 138.4.11.35 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1211980458 20594 127.0.0.1 (28 May 2008 13:14:18 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 28 May 2008 13:14:18 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z72g2000hsb.googlegroups.com; posting-host=138.4.11.35; posting-account=Lcd2wAoAAAADW2SqWO5AWY55Q-jjpVWU User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.8.1.10) Gecko/20071115 Iceweasel/2.0.0.10 (Debian-2.0.0.10-0etch1),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:425 Date: 2008-05-28T06:14:17-07:00 List-Id: > Project files typically have a Debug target and a > Production target. That's true. So the idea would have the compiler to reject any pragma Assumption occurrence in the production target (the "final binary" I said before), and explicitly ask for it using a compiler switch in the debug target during coding and testing. -- Santiago Urue=F1a-Pascual Technical University of Madrid (UPM)