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.171.72 with SMTP id g8mr14546810qaz.7.1376552257795; Thu, 15 Aug 2013 00:37:37 -0700 (PDT) X-Received: by 10.50.4.38 with SMTP id h6mr67444igh.8.1376552257751; Thu, 15 Aug 2013 00:37:37 -0700 (PDT) Path: border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!f7no2426148qan.0!news-out.google.com!he10ni1979qab.0!nntp.google.com!fx3no2546168qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 15 Aug 2013 00:37:37 -0700 (PDT) In-Reply-To: <86395c3d-e0e2-41f1-8286-08a64125fd2e@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=159.245.48.2; posting-account=UaVslQkAAACVs7AM1tLAQ7VDC3JzDHQw NNTP-Posting-Host: 159.245.48.2 References: <86395c3d-e0e2-41f1-8286-08a64125fd2e@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <9321f9d3-c336-4138-92e5-168676d52651@googlegroups.com> Subject: Re: (GNADE) Access attribute not allowed in generic body From: Dwiki Injection-Date: Thu, 15 Aug 2013 07:37:37 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Original-Bytes: 2477 Xref: number.nntp.dca.giganews.com comp.lang.ada:183027 Date: 2013-08-15T00:37:37-07:00 List-Id: Pada Kamis, 15 Agustus 2013 14:27:58 UTC+7, Dwiki menulis: > hello again, > > im trying to compile app using gnade (1.5.3a) in windows, but it show error message > > > > gnu-db-sqlcli-dispatch-a_string.adb:62:40: 'Access attribute not allowed in gene > > ric body > > gnu-db-sqlcli-dispatch-a_string.adb:62:40: because access type "Attr_Get_Func" i > > s declared outside generic unit (RM 3.10.2(32)) > > gnu-db-sqlcli-dispatch-a_string.adb:62:40: move 'Access to private part, or (Ada > > 2005) use anonymous access type instead of "Attr_Get_Func" > > gnu-db-sqlcli-dispatch-a_string.adb:63:40: 'Access attribute not allowed in gene > > ric body > > gnu-db-sqlcli-dispatch-a_string.adb:63:40: because access type "Attr_Set_Proc" i > > s declared outside generic unit (RM 3.10.2(32)) > > gnu-db-sqlcli-dispatch-a_string.adb:63:40: move 'Access to private part, or (Ada > > 2005) use anonymous access type instead of "Attr_Set_Proc" > > completed 1 out of 1 (100%)... > > gprbuild: *** compilation phase failed > > > > any clue? > > > > thank you.... here is the code procedure Register (Index : in Attr.T) is begin Get_Dispatch_Array (Index) := Get'Access; Set_Dispatch_Array (Index) := Set'Access; end Register;