comp.lang.ada
 help / color / mirror / Atom feed
* Aliased
@ 2005-06-15 16:06 nblanpain
  2005-06-15 16:35 ` Aliased Martin Dowie
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: nblanpain @ 2005-06-15 16:06 UTC (permalink / raw)


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

package body Test is

...

procedure Initialize is
begin
   Ptr_Tab := Tab'Access;  -- illegal instruction
end Initialize;

...

end Test;

Where is the problem and is there a solution to it?

Thanks,




^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2005-06-29 21:10 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-15 16:06 Aliased nblanpain
2005-06-15 16:35 ` Aliased Martin Dowie
2005-06-15 18:56 ` Aliased nblanpain
2005-06-15 21:47   ` Aliased Martin Dowie
2005-06-16  3:15 ` Aliased Steve
2005-06-16 14:03   ` Aliased nblanpain
2005-06-16 19:56     ` Aliased Simon Wright
2005-06-17  7:01       ` Aliased nblanpain
2005-06-17  9:38         ` Aliased Larry Kilgallen
2005-06-19 19:44           ` Aliased nblanpain
2005-06-19 20:33             ` Aliased Jeffrey Carter
2005-06-20  9:34               ` Aliased nblanpain
2005-06-20 16:41                 ` Aliased Jeffrey Carter
2005-06-17  2:15     ` Aliased Jeffrey Carter
2005-06-17  7:02       ` Aliased nblanpain
2005-06-17  2:35     ` Aliased Steve
2005-06-17  7:52       ` Aliased Dmitry A. Kazakov
2005-06-17  4:38     ` Aliased Christoph Grein
2005-06-29 21:10     ` Aliased Robert A Duff

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