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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,98e3ee7e73b9dd89 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!g47g2000cwa.googlegroups.com!not-for-mail From: nblanpain@hotmail.com Newsgroups: comp.lang.ada Subject: Re: Aliased Date: 15 Jun 2005 11:56:13 -0700 Organization: http://groups.google.com Message-ID: <1118861773.275368.172730@g47g2000cwa.googlegroups.com> References: <1118851601.345326.86640@g49g2000cwa.googlegroups.com> NNTP-Posting-Host: 84.4.160.136 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1118861785 5869 127.0.0.1 (15 Jun 2005 18:56:25 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 15 Jun 2005 18:56:25 +0000 (UTC) In-Reply-To: <1118851601.345326.86640@g49g2000cwa.googlegroups.com> User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: g47g2000cwa.googlegroups.com; posting-host=84.4.160.136; posting-account=_RMqsA0AAAC-PdbSlgs9JBFgDjKtbmJX Xref: g2news1.google.com comp.lang.ada:11394 Date: 2005-06-15T11:56:13-07:00 List-Id: nblanpain@hotmail.com a =E9crit : > Hello, > > I have a probleme with aliased variable : > > -- Specification > > package Test is > > ... > > private > > type T_Toto is ...; > type A_Toto is acess all T_Toto; > > type T_Test is new T_Object with record > Tab : aliased T_Toto; > Ptr_Tab : A_Toto; > end record; > > end Test; > > -- Body > > > Where is the problem and is there a solution to it? > > Thanks, Excuse me, there is an error in my program : package body Test is .=2E. procedure Initialize (This : in out T_Test) is begin This.Ptr_Tab :=3D This.Tab'Access; -- illegal instruction end Initialize; =2E.. end Test; So the same question : why is there a problem and how can i solve it? thanks,