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:16:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: The Dreaded "Missing Subunits" Date: 13 Sep 2002 21:58:49 +0100 Organization: Pushface Sender: simon@smaug Message-ID: References: <1b585154.0209121449.ef12609@posting.google.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1031951767 18418 62.49.19.209 (13 Sep 2002 21:16:07 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Fri, 13 Sep 2002 21:16:07 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: archiver1.google.com comp.lang.ada:28960 Date: 2002-09-13T21:58:49+01:00 List-Id: I just tried this with GCC-3.2: procedure Sep is procedure Ch is separate; begin Ch; end Sep; and get smaug[9]$ gnatmake sep gcc -c sep.adb No code generated for file sep.adb (missing subunits) sep.adb:2:04: warning: subunit "Sep.Ch" in file "sep-ch.adb" not found gnatmake: "sep.adb" compilation error Which version are you using?