From: "Björn Lundin" <b.f.lundin@gmail.com>
Subject: Re: Ada.Containers warnings with gnat
Date: Mon, 17 Nov 2014 09:13:20 +0100
Date: 2014-11-17T09:13:20+01:00 [thread overview]
Message-ID: <m4cak8$d27$1@dont-email.me> (raw)
In-Reply-To: <m4an2p$ij1$1@dont-email.me>
On 2014-11-16 18:32, Jeffrey Carter wrote:
> On 11/16/2014 04:37 AM, Björn Lundin wrote:
>>
>> It seems to be ok until I - in the body - do
>>
>> with Ada.Streams;
>
> Delete this one and see what happens. It shouldn't change anything since
>
>> with Ada.Streams.Stream_IO;
>
> includes it.
>
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...
I actually with'ed Ada.Streams for symmetry reason,
with Ada;
with Ada.Streams;
with Ada.Streams.Stream_IO;
looks better (to me) than just
with Ada.Streams.Stream_IO;
It seems that I will need some cognitive training to change my preferences.
--
Björn
next prev parent reply other threads:[~2014-11-17 8:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-15 14:35 Ada.Containers warnings with gnat Björn Lundin
2014-11-15 15:15 ` Björn Lundin
2014-11-15 18:01 ` Jeffrey Carter
2014-11-16 10:05 ` Björn Lundin
2014-11-16 11:37 ` Björn Lundin
2014-11-16 17:32 ` Jeffrey Carter
2014-11-17 8:13 ` Björn Lundin [this message]
2014-11-17 16:39 ` Anh Vo
2014-11-17 17:27 ` Jeffrey Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox