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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,eaee5e6761e9a59a,start X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!d21g2000prf.googlegroups.com!not-for-mail From: xorquewasp@googlemail.com Newsgroups: comp.lang.ada Subject: GNAT subunit naming Date: Fri, 14 Mar 2008 11:35:11 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 81.86.41.187 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1205519711 8945 127.0.0.1 (14 Mar 2008 18:35:11 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 14 Mar 2008 18:35:11 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d21g2000prf.googlegroups.com; posting-host=81.86.41.187; posting-account=D9GNUgoAAAAmg7CCIh9FhKHNAJmHypsp User-Agent: G2/1.0 X-HTTP-UserAgent: gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:20386 Date: 2008-03-14T11:35:11-07:00 List-Id: Hi. We have these files: -- hello.ads package hello_device is procedure func1; procedure func2; procedure func3; end; -- hello.adb package body hello_device is procedure func1 is separate; procedure func2 is separate; procedure func3 is separate; end; -- hello_f1.adb with ada.text_io; separate(hello_device) procedure func1 is begin ada.text_io.put("func1"); ada.text_io.new_line; end func1; -- hello_f2.adb with ada.text_io; separate(hello_device) procedure func2 is begin ada.text_io.put("func2"); ada.text_io.new_line; end func2; -- hello_f3.adb with ada.text_io; separate(hello_device) procedure func3 is begin ada.text_io.put("func3"); ada.text_io.new_line; end func3; Now, I can tell GNAT that the files hello.ads and hello.adb provide the package 'hello_device' just fine with a couple of Source_File_Name pragmas but I can't seem to work out how to tell GNAT that hello_f[123].adb provide the subunits of this package. Any help would be appreciated.