comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: GNAT CE 2020 : error when using anon access to subprogram inside protected !?
Date: Tue, 02 Jun 2020 15:37:30 +0100
Date: 2020-06-02T15:37:30+01:00	[thread overview]
Message-ID: <lytuztr0t1.fsf@pushface.org> (raw)
In-Reply-To: rb5lg4$k50$1@dont-email.me

"J-P. Rosen" <rosen@adalog.fr> writes:

> Le 02/06/2020 à 11:46, Jérôme Haguet a écrit :
>> pb20200602.adb:27:18: subprogram "Do_On_Item" has wrong convention
>> pb20200602.adb:27:18: does not match access to subprogram declared at line 7
>>
>>
> shouldn't it be access protected procedure ?

I wondered that; now both GCC 10 and GNAT CE 2020 complain!

  reply	other threads:[~2020-06-02 14:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-02  9:46 GNAT CE 2020 : error when using anon access to subprogram inside protected !? Jérôme Haguet
2020-06-02 12:04 ` Simon Wright
2020-06-03  6:36   ` Simon Wright
2020-06-03  9:54     ` J-P. Rosen
2020-06-02 13:51 ` J-P. Rosen
2020-06-02 14:37   ` Simon Wright [this message]
2020-06-02 14:55     ` Dmitry A. Kazakov
2020-06-02 18:02   ` AdaMagica
replies disabled

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