From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.224.64.202 with SMTP id f10mr16422293qai.2.1376579445006; Thu, 15 Aug 2013 08:10:45 -0700 (PDT) X-Received: by 10.50.3.70 with SMTP id a6mr156909iga.16.1376579444900; Thu, 15 Aug 2013 08:10:44 -0700 (PDT) Path: border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!f7no2457176qan.0!news-out.google.com!he10ni1979qab.0!nntp.google.com!fx3no2579136qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 15 Aug 2013 08:10:44 -0700 (PDT) In-Reply-To: <2bb56177-ff86-4d54-bceb-ed57a5a90411@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=66.126.103.122; posting-account=RxNzCgoAAACA5KmgtFQuaU-WaH7rjnAO NNTP-Posting-Host: 66.126.103.122 References: <86395c3d-e0e2-41f1-8286-08a64125fd2e@googlegroups.com> <2bb56177-ff86-4d54-bceb-ed57a5a90411@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: (GNADE) Access attribute not allowed in generic body From: Adam Beneschan Injection-Date: Thu, 15 Aug 2013 15:10:44 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Original-Bytes: 1711 Xref: number.nntp.dca.giganews.com comp.lang.ada:183040 Date: 2013-08-15T08:10:44-07:00 List-Id: 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