comp.lang.ada
 help / color / mirror / Atom feed
From: Dwiki <dwiki.jtk07@gmail.com>
Subject: Re: (GNADE) Access attribute not allowed in generic body
Date: Thu, 15 Aug 2013 00:37:37 -0700 (PDT)
Date: 2013-08-15T00:37:37-07:00	[thread overview]
Message-ID: <9321f9d3-c336-4138-92e5-168676d52651@googlegroups.com> (raw)
In-Reply-To: <86395c3d-e0e2-41f1-8286-08a64125fd2e@googlegroups.com>

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;


  reply	other threads:[~2013-08-15  7:37 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 [this message]
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
replies disabled

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