From: reinert <reinkor@gmail.com>
Subject: Re: Strange warning message
Date: Mon, 27 Nov 2017 03:52:42 -0800 (PST)
Date: 2017-11-27T03:52:42-08:00 [thread overview]
Message-ID: <e9fb14c9-336e-4e9e-affd-9cfc5acfe137@googlegroups.com> (raw)
In-Reply-To: <19ca49f7-fa8c-49d9-a4b8-8a77546ef3b5@googlegroups.com>
For the sake of order, I here post an update of the original test program (above). Making an "empty" entry and a reference to it, makes warnings to disappear:
with Text_IO;
procedure test1m is
task type test1_t is
entry run1;
end test1_t;
task body test1_t is
begin
select
accept run1 do
null;
end run1;
Text_IO.Put_Line("Hello there!");
delay 5.0;
or terminate;
end select;
end test1_t;
test1 : array(1..1) of access test1_t;
begin
for e of test1 loop
e := new test1_t;
e.run1;
end loop;
test1(1) := new test1_t;
test1(1).run1;
Text_IO.Put_Line(" Here we go ");
end test1m;
next prev parent reply other threads:[~2017-11-27 11:52 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
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 [this message]
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