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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,23ca868289d9f0c X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.vmunix.org!peer-uk.news.demon.net!kibo.news.demon.net!mutlu.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: generic package with procedure paramter gives "not subtype conformant with declaration" Date: Sun, 01 Oct 2006 08:18:41 +0100 Organization: Pushface Message-ID: References: <1159651201.121690.130430@b28g2000cwb.googlegroups.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1159687122 26741 62.49.19.209 (1 Oct 2006 07:18:42 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Sun, 1 Oct 2006 07:18:42 +0000 (UTC) Cancel-Lock: sha1:J5eiybLmdEN5dV4d2u8dbSv2h0M= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Xref: g2news2.google.com comp.lang.ada:6819 Date: 2006-10-01T08:18:41+01:00 List-Id: 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.