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.3 required=5.0 tests=BAYES_00, 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-13 02:24:58 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!news.teledanmark.no!newsfeed1.ulv.nextra.no!nextra.com!bnewspeer00.bru.ops.eu.uu.net!bnewsifeed00.bru.ops.eu.uu.net!lnewspost00.lnd.ops.eu.uu.net!emea.uu.net!read.news.fr.uu.net!not-for-mail Sender: briot@lyon.act-europe.fr Newsgroups: comp.lang.ada Subject: Re: The Dreaded "Missing Subunits" References: <1b585154.0209121449.ef12609@posting.google.com> <3D819EE7.3A69E5EB@praxis-cs.co.uk> From: Emmanuel Briot Reply-To: briot@act-europe.fr Date: 13 Sep 2002 11:24:51 +0200 Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: lyon.act-europe.fr X-Trace: 1031909096 read.news.fr.uu.net 213 212.157.227.160 X-Complaints-To: abuse@fr.uu.net Xref: archiver1.google.com comp.lang.ada:28914 Date: 2002-09-13T11:24:51+02:00 List-Id: Peter Amey writes: > Are you really using the GNAT compiler with Rational naming > conventions? I don't know if that is the cause of your problem but it > certainly won't help. Rational (rather bizarrely in my view) use > xxx.1.ada for specs and xxx.2.ada for bodies. The GNAT convention > (which automates builds) is to use: > > unit_name.ads for specs, unit_name.adb for bodies and > grandparent-parent-unit_name.adb for subunits. This is of course wrong. Have a look in the documentation at pragma Source_File_Name, which provides handling for any possible naming scheme you can conceive. Emmanuel