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: a07f3367d7,cbe0aa3013785791 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!r3g2000vbp.googlegroups.com!not-for-mail From: britt.snodgrass@gmail.com Newsgroups: comp.lang.ada Subject: Re: Minor SPARK problem concerning 'redundant' with clauses. Date: Wed, 10 Jun 2009 13:55:05 -0700 (PDT) Organization: http://groups.google.com Message-ID: <445038cd-3a8b-4222-a49b-3b64d4fc3c72@r3g2000vbp.googlegroups.com> References: NNTP-Posting-Host: 205.175.225.24 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1244667305 1579 127.0.0.1 (10 Jun 2009 20:55:05 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 10 Jun 2009 20:55:05 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r3g2000vbp.googlegroups.com; posting-host=205.175.225.24; posting-account=rdRzuwoAAAAyW3CSBhs_xgfCUJSc1aNt User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; InfoPath.1; .NET CLR 1.1.4322; MS-RTC LM 8),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 secproxy04.rockwellcollins.com:8080 (IWSS) Xref: g2news2.google.com comp.lang.ada:6421 Date: 2009-06-10T13:55:05-07:00 List-Id: I'm getting a bit rusty with my SPARK, but I think the with clause can be moved to the package body (only the body) while the inherit annotation remains in the package spec. We always build with the - gnatwa switch to enable all optional warnings and I think this warning was easy to fix by moving the "with" to the body. - Britt