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,d5cbc012ac099061 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-20 05:29:24 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3B07AB9C.C02C5D56@earthlink.net> From: "Marc A. Criley" Organization: Quadrus Corporation X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Non-Stub In Inner Scope? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 20 May 2001 12:29:22 GMT NNTP-Posting-Host: 158.252.122.206 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 990361762 158.252.122.206 (Sun, 20 May 2001 05:29:22 PDT) NNTP-Posting-Date: Sun, 20 May 2001 05:29:22 PDT X-Received-Date: Sun, 20 May 2001 05:27:38 PDT (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:7660 Date: 2001-05-20T12:29:22+00:00 List-Id: Dr Nancy's Sweetie wrote: > > Both solutions also have the problem that I'd have to have the body of > Wont_Work() in the example.adb file, making it impossible to do separate > compilation. There are several functions that go along with Wont_Work(), > and they're pretty long. They are debugged and stable at this point, > which is why I wanted to move them out; the rest of the package is still > in flux. Recompiling that code over and over can consume a lot of time. While it's been mentioned that moving "Wont_Work" out of the function and into the package body has been suggested, you should know that if you're using the GNAT Ada 95 compiler, the bodies of all of package's "separates" are compiled when the package body is compiled, despite their being in separate files. Other compilers may well handle this situation differently. Marc A. Criley Senior Staff Engineer Quadrus Corporation www.quadruscorp.com