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,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4c019ad9cc913bbe X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-09-19 23:09:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!freenix!enst.fr!not-for-mail From: "Grein, Christoph" Newsgroups: comp.lang.ada Subject: Re: The Dreaded "Missing Subunits" Date: Fri, 20 Sep 2002 08:03:23 +0200 (MET DST) Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Trace: avanie.enst.fr 1032502143 38204 137.194.161.2 (20 Sep 2002 06:09:03 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Fri, 20 Sep 2002 06:09:03 +0000 (UTC) Return-Path: X-Authentication-Warning: mail.eurocopter.com: uucp set sender to using -f Content-MD5: jxDprxADfb2HDBU3VV8V7Q== X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 sun4u sparc Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.13 Precedence: bulk X-Reply-To: "Grein, Christoph" List-Unsubscribe: , List-Id: comp.lang.ada mail<->news gateway List-Post: List-Help: List-Subscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:29202 Date: 2002-09-20T08:03:23+02:00 > >> Besides don't you get the with-ing problem with .ada? > > > > Why? It worked with Ada 83, why shouldn't it with Ada 95. > > I don't know how the .ada works, but sometimes you have to with in the > .adb and not the .ads to avoid circular dependance. But I guess you can > put the withs after the spec and the compiler will recognice this? This is a misconception. It's no language concern how you store Ada units. Whether you store specs and bodies in one file or separately does not affect the semantics. And you do not "with" .ads, .adb, or .ada _files_, you with Ada units. Having specs and bodies separate is ony a convention of some compiler vendors.