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,cf6d7cfa23391bce X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-11 07:15:25 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Problem with visibility of generic package help please Date: Thu, 11 Dec 2003 15:15:24 +0000 (UTC) Organization: GMUGHDU Message-ID: References: NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1071155724 16945 134.91.1.34 (11 Dec 2003 15:15:24 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Thu, 11 Dec 2003 15:15:24 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: archiver1.google.com comp.lang.ada:3370 Date: 2003-12-11T15:15:24+00:00 List-Id: Ute wrote: : hello, : : I'm trying to instantiate a generic package with doesn't become visible in : the : main program. However, the specifiacation of the package and the package : body do : separately compile without errors. I am using GNAT. : : : I can't find the error?? One reported error is, generic_sort_demo.adb: no visible subprogram matches the specification for "put" generic_sort_demo.adb: missing specification for "Width" and other formals meaning that what you pass for put has a different specification from what you have specified as generic formal procedure put in generic_sort.ads. Namely, your specifications do not list the Width and other parameters that put from the text_IO packages have. -- Georg