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.9 required=5.0 tests=BAYES_00 autolearn=ham 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 14:00:52 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: The Dreaded "Missing Subunits" Date: 13 Sep 2002 16:56:10 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: <1b585154.0209121449.ef12609@posting.google.com> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1031951158 1493 128.183.220.71 (13 Sep 2002 21:05:58 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 13 Sep 2002 21:05:58 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:28954 Date: 2002-09-13T21:05:58+00:00 List-Id: prichtmyer@yahoo.com (Peter Richtmyer) writes: > I love the Gnat compiler but... > > I dread this error message: > > "No code generated for file xxxx.2.ada (missing subunits)" > > It means that I have a procedure or function declared "...is separate;" > in package xxxx, but there is no matching separate. A "legacy" package > has a gazillion separates. They need changes, and the calling > parameters get changed and don't match, or the routine name changes, > or the separate filename isn't right, or whatever happens to get this > message, and it is a real pain to figure out which "subunit" is missing. > > Anybody have a solution? maybe a compile switch or ...? This is clearly a non-helpful error message; it should give the file names and/or subunit names. Actually, did you try the compiler switch -gnatf? That might help (I don't use subunits, so I don't know). Send a request to report@gnat.com. If you are a paying customer, they'll give it more weight. -- -- Stephe