comp.lang.ada
 help / color / mirror / Atom feed
From: reinert <reinkor@gmail.com>
Subject: Re: Strange warning message
Date: Mon, 27 Nov 2017 02:43:13 -0800 (PST)
Date: 2017-11-27T02:43:13-08:00	[thread overview]
Message-ID: <ccf4ef2d-0f00-4c0f-863c-ff8a764c8e1f@googlegroups.com> (raw)
In-Reply-To: <87shd0xdg9.fsf@jacob-sparre.dk>

On Monday, November 27, 2017 at 10:45:12 AM UTC+1, Jacob Sparre Andersen wrote:
> Reinert <reinkor@gmail.com> writes:
> 
> > OK, but still I am confused. The loop (in the program):
> >
> >  for e of test1 loop
> >       e := new test1_t;
> >  end loop;
> >
> > does the same as "test1(1) := new test1_t;"?
> 
> Yes.  Both of them only write to "test1".  GNAT usually means "reads
> values from", when it writes "references".

But then I would expect the same warning (for the loop and "test1(1) := new test1_t;" ?

reinert

> 
> Greetings,
> 
> Jacob
> -- 
> xsnow | xshovel > /dev/null


  reply	other threads:[~2017-11-27 10:43 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-27  8:40 Strange warning message reinert
2017-11-27  9:00 ` Jacob Sparre Andersen
2017-11-27  9:13   ` reinert
2017-11-27  9:45     ` Jacob Sparre Andersen
2017-11-27 10:43       ` reinert [this message]
2017-11-27  9:01 ` gautier_niouzes
2017-11-27  9:09   ` gautier_niouzes
2017-11-27  9:27     ` reinert
2017-11-27 10:42 ` Jeffrey R. Carter
2017-11-27 10:47   ` reinert
2017-11-27 11:52     ` reinert
2017-11-29  0:43 ` Robert Eachus
2017-11-29 10:39   ` reinert
2017-11-29 20:47     ` Randy Brukardt
2017-11-30 14:11       ` reinert
2017-12-01 22:53     ` Robert Eachus
2017-12-02  8:47       ` Simon Wright
2017-12-02  9:47         ` Niklas Holsti
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox