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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Ada.Containers warnings with gnat Date: Mon, 17 Nov 2014 10:27:18 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 17 Nov 2014 17:27:07 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="e1e8835fd7030ec2a5463beff662d0eb"; logging-data="4404"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18RbM951ofQtVIYq4JtQXQAmMyoQva2pTA=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: Cancel-Lock: sha1:qOjqgvGNS1KkdLqFm4A52OCNnZI= Xref: news.eternal-september.org comp.lang.ada:23478 Date: 2014-11-17T10:27:18-07:00 List-Id: On 11/17/2014 01:13 AM, Björn Lundin wrote: > > Spot on. No warnings anymore. > Thanks. > > But since the with-clause is in the body, > one would think that the warnings would refer to the body, not the spec... You shouldn't get the warnings in either case. I think you should report this. -- Jeff Carter "So if I understand 'The Matrix Reloaded' correctly, the Matrix is basically a Microsoft operating system--it runs for a while and then crashes and reboots. By design, no less. Neo is just a memory leak that's too hard to fix, so they left him in ... The users don't complain because they're packed in slush and kept sedated." Marin D. Condic 65