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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,765c2d5de82281f4 X-Google-Attributes: gid103376,public From: phtruong@csupomona.edu Subject: Re: Generic Packages Date: 1997/02/20 Message-ID: <1997Feb20.215817@clstac>#1/1 X-Deja-AN: 220413027 References: <5e03nm$esq@netty.york.ac.uk> Organization: California State Polytechnic University, Pomona Newsgroups: comp.lang.ada Date: 1997-02-20T00:00:00+00:00 List-Id: In article <5e03nm$esq@netty.york.ac.uk>, keh105@york.ac.uk (Quorlia) writes: > I have a package header dll.ads and a package body dll.adb but I'm not > sure how to compile them. Gnatmake comes up with soem nasty messages > about not finding units. Do I need a uses clause somewhere? Yeah! you do need. You have to include 'with generic_name' and package any_name generic_name(data_type, ...) is new use any_name In the program where you will use functions in the package. Also, don't foget to compile (not link) the package first. More questions? email me.