From: Adam Beneschan <adambeneschan@aol.com>
Subject: Re: (GNADE) Access attribute not allowed in generic body
Date: Thu, 15 Aug 2013 08:10:44 -0700 (PDT)
Date: 2013-08-15T08:10:44-07:00 [thread overview]
Message-ID: <e0070dea-4a9d-4396-8621-57f4e7abfb87@googlegroups.com> (raw)
In-Reply-To: <2bb56177-ff86-4d54-bceb-ed57a5a90411@googlegroups.com>
On Thursday, August 15, 2013 6:42:12 AM UTC-7, Shark8 wrote:
> If it's a Ada 2005/2012 incompatibility as Dmitry suggests you can try throwing "pragma Ada_2005;" as the first-line in the body.
No, it's an Ada 95/2005 incompatibility (the rules about 'Access on a subprogram in a generic body were changed because the old rules led to problems in some cases). So I guess you'd need "pragma Ada_95;" or something like that?
-- Adam
prev parent reply other threads:[~2013-08-15 15:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-15 7:27 (GNADE) Access attribute not allowed in generic body Dwiki
2013-08-15 7:37 ` Dwiki
2013-08-15 7:53 ` Dmitry A. Kazakov
2013-08-15 8:17 ` Dwiki
2013-08-16 16:46 ` Stephen Leake
2013-08-18 13:40 ` Dwiki
2013-08-15 8:37 ` egilhh
2013-08-16 16:44 ` Stephen Leake
2013-08-15 13:42 ` Shark8
2013-08-15 15:10 ` Adam Beneschan [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox