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=-0.5 required=5.0 tests=BAYES_00,INVALID_MSGID, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,18f6de557e6897b2 X-Google-Attributes: gid103376,public From: clines@delete_this.airmail.net (Kevin Cline) Subject: Re: circular unit dependency Date: 1997/05/31 Message-ID: <9A7E8196B8D7EE83.E6C868B798076E45.6F1AD9E8B3E01F66@library-proxy.airnews.net>#1/1 X-Deja-AN: 245139973 References: <3386d96f.171920@noticias.ibernet.es> X-Orig-Message-ID: <3390bba8.482406@news.airmail.net> Organization: INTERNET AMERICA NNTP-Proxy-Relay: library.airnews.net Newsgroups: comp.lang.ada Date: 1997-05-31T00:00:00+00:00 List-Id: jdlopez@caminos.recol.es wrote: > I am making a program with 2 classes that each one depends on the >other: > >--class1.ads >with class2; >package class1 is >--... > >--class2.ads >withc class1; >package class2 is >--... > > When I compile class1.ads or class2.ads with the freeware gnat >ADA 95 (301a) a error appears: > > circular unit dependency > > I see what is happening but: > >1- �Is there any way of solving this? Put them both in the same package, since neither is useful without the other. You are attempting to separate the inseparable.