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, T_HK_NAME_FM_MR_MRS autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,97cb483b77341d30,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-20 08:27:31 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: ratsonjaniv@hotmail.com (Mr. J.) Newsgroups: comp.lang.ada Subject: generic parameter to generic package Date: 20 Jan 2004 08:27:30 -0800 Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 82.166.174.136 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1074616051 14162 127.0.0.1 (20 Jan 2004 16:27:31 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 20 Jan 2004 16:27:31 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:4572 Date: 2004-01-20T08:27:30-08:00 List-Id: I have the following not compiling code: ============================================ generic type Language is array (Positive range<>) of Character; type States is array (Positive range <>) of Integer; package Automat_Producer is ... =========================================================== And also : ************************************************************* with Automat_Producer; generic with package My_Automat is new Automat_Producer (<>); procedure Apply_String(Auto: in My_Automat; S:String); ******************************************************************* 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 10x, J.