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: 103376,71d79ed4fdc42ae2 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.71.MISMATCH!xlned.com!feeder3.xlned.com!feeder.erje.net!news.musoftware.de!wum.musoftware.de!news.weisnix.org!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Fri, 02 Jul 2010 22:33:25 +0200 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Make specific warning error with gnat? References: <82mxuaxmb1.fsf@stephe-leake.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4c2e4d14$0$6769$9b4e6d93@newsspool3.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 02 Jul 2010 22:33:25 CEST NNTP-Posting-Host: 861ac143.newsspool3.arcor-online.net X-Trace: DXC=>5oQLmnL\cJ2:OR3:3gaE@McF=Q^Z^V3H4Fo<]lROoRA8kFejVHN0C^IIKP0aJ;GSfIggD<2E X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:13124 Date: 2010-07-02T22:33:25+02:00 List-Id: On 7/2/10 11:44 AM, Markus Schoepflin wrote: > I neither have the time nor the resources available to fix all of them, > nor am I allowed to do so. But if the compiler already knows that there > will be a constraint error at runtime, I would have liked the > compilation to fail. (I can't think of a way to do this without annotating each occurrence in the source program: some programs might want the constraint_error to be produced for whatever reason ...) Anyway, grep has helped me scan traces of output and trigger actions accordingly, that should be a workaround. I understand GPS is programmable, so maybe the log console has hooks this sort of special case?