comp.lang.ada
 help / color / mirror / Atom feed
From: "Marc A. Criley" <mcqada@earthlink.net>
Subject: Re: Non-Stub In Inner Scope?
Date: Sun, 20 May 2001 12:29:22 GMT
Date: 2001-05-20T12:29:22+00:00	[thread overview]
Message-ID: <3B07AB9C.C02C5D56@earthlink.net> (raw)
In-Reply-To: NMBN6.5769$DW1.255373@iad-read.news.verio.net

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



  parent reply	other threads:[~2001-05-20 12:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-19 21:42 Non-Stub In Inner Scope? Dr Nancy's Sweetie
2001-05-19 22:01 ` David C. Hoos, Sr.
2001-05-19 23:08   ` Robert A Duff
2001-05-20 10:50   ` RPrice9979
2001-05-20  3:15 ` Jeffrey Carter
2001-05-20 12:29 ` Marc A. Criley [this message]
2001-05-20 20:07   ` David C. Hoos, Sr.
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox