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,2de817601fb57946,start X-Google-Attributes: gid103376,public From: Earl Conrad Pilloud Subject: Q: Generic Instantiation Date: 1996/07/05 Message-ID: <4rjtq4$dsl@blackbird.afit.af.mil>#1/1 X-Deja-AN: 163901911 organization: Air Force Institute of Technology newsgroups: comp.lang.ada Date: 1996-07-05T00:00:00+00:00 List-Id: Help, I'm trying to compile an instantiation of a generic B-Tree package with GNAT 2.7.2 on an SGI machine and I got this error!! (compiler is complaining about finding the thing it is expecting) 254. Insert (Targeted_B_Plus_Tree.Root_Node.Subtree(0).Item_Container, Non_Key_Information); | >>> error: expected private type "Object" defined at dis_entity.ads:83 254. Insert (Targeted_B_Plus_Tree.Root_Node.Subtree(0).Item_Container, Non_Key_Information); | >>> error: found private type "Object" defined at dis_entity.ads:83 The "Insert" being called is a subprogram in an instantiation of a generic set package to hold items of type "Object". Am I in trouble because I'm trying to instantiate using formal parameters which come from the instantiation of another generic? Thanks Conrad