comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: generic package with procedure paramter gives "not subtype conformant with declaration"
Date: Sun, 01 Oct 2006 08:18:41 +0100
Date: 2006-10-01T08:18:41+01:00	[thread overview]
Message-ID: <m2k63kh5bi.fsf@grendel.local> (raw)
In-Reply-To: 1159651201.121690.130430@b28g2000cwb.googlegroups.com

Put this somewhere (in package avcall I guess)

   type Av_Param_Access
     is access procedure (AList : System.Address;
                          Value : System.Address);

then 

   generic
      type Any_Type is private;
      Av_Param_Instance : Av_Param_Access;
   package avcall.register_type is

Compiles OK (same environment as you), whether it is correct and
whether it works are of course different matters.



  parent reply	other threads:[~2006-10-01  7:18 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-30 21:20 generic package with procedure paramter gives "not subtype conformant with declaration" cl1
2006-10-01  1:27 ` Jeffrey R. Carter
2006-10-01  6:02   ` cl1
2006-10-01 19:43     ` Jeffrey R. Carter
2006-10-01 21:26       ` cl1
2006-10-01 23:17         ` tmoran
2006-10-02  4:46           ` cl1
2006-10-02  3:24         ` Jeffrey R. Carter
2006-10-02  4:31           ` cl1
2006-10-02  7:17             ` Alex R. Mosteo
2006-10-02 20:04             ` Jeffrey R. Carter
2006-10-03 18:49               ` cl1
2006-10-01  7:18 ` Simon Wright [this message]
2006-10-01 19:42   ` cl1
2006-10-01 20:18     ` Robert A Duff
2006-10-01 21:32       ` cl1
replies disabled

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