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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,97cb483b77341d30 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-20 09:55:13 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.news.pas.earthlink.net.POSTED!a6202946!not-for-mail From: Jeffrey Carter Organization: jrcarter commercial-at acm [period | full stop] org User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: generic parameter to generic package References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <0YdPb.19032$1e.14750@newsread2.news.pas.earthlink.net> Date: Tue, 20 Jan 2004 17:55:08 GMT NNTP-Posting-Host: 63.184.16.205 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.news.pas.earthlink.net 1074621308 63.184.16.205 (Tue, 20 Jan 2004 09:55:08 PST) NNTP-Posting-Date: Tue, 20 Jan 2004 09:55:08 PST Xref: archiver1.google.com comp.lang.ada:4577 Date: 2004-01-20T17:55:08+00:00 List-Id: Mr. J. wrote: > What M I doing wrong ? > > Compiler error: > > apply_string.ads:6:33: subtype mark required in this context > > apply_string.ads:6:33: found "My_Automat" declared at line 4 The compiler messages seem pretty clear: a subtype mark is required, and you're supplying "My_Automat", which is not a subtype mark (it's a package name). Packages are not (sub)types, and subprogram parameters can only be (sub)types. -- Jeff Carter "It's symbolic of his struggle against reality." Monty Python's Life of Brian 78