comp.lang.ada
 help / color / mirror / Atom feed
* Re: Ada2005 temp solo child (was: Re: The Dreaded "Missing Subunits"
@ 2002-09-13  8:59 Grein, Christoph
  2002-09-13 10:24 ` Ada2005 temp solo child ica2ph
  0 siblings, 1 reply; 12+ messages in thread
From: Grein, Christoph @ 2002-09-13  8:59 UTC (permalink / raw)


> While developing an application, I have e.g. a parent.child
> but not yet a parent package, which may or may come later.
> Now my compiler forces me to have the parent.
> I would prefer the ada standard would force the compiler
> to allow parentless children.
> Did I ignore some important aspect?

I do not know, but the request seems silly to me. Why is it so disturbing to create a 
dummy parent, which is still empty. It has to be created anyway eventually, so 
why not just now? If there will never be a parent, why have the hierarchy at 
all?



^ permalink raw reply	[flat|nested] 12+ messages in thread
* The Dreaded "Missing Subunits"
@ 2002-09-12 22:49 Peter Richtmyer
  2002-09-13  8:16 ` Peter Amey
  0 siblings, 1 reply; 12+ messages in thread
From: Peter Richtmyer @ 2002-09-12 22:49 UTC (permalink / raw)


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 ...?

thanks,
Peter
 
(I know he isn't reading this but, Robert, I did try to read the docs!)



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2002-09-14  2:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-13  8:59 Ada2005 temp solo child (was: Re: The Dreaded "Missing Subunits" Grein, Christoph
2002-09-13 10:24 ` Ada2005 temp solo child ica2ph
2002-09-13 10:40   ` Preben Randhol
2002-09-13 11:41     ` Peter Hermann
2002-09-13 13:50       ` Dr. Michael Paus
2002-09-13 15:29         ` Preben Randhol
2002-09-13 21:08         ` Randy Brukardt
2002-09-13 21:00       ` Stephen Leake
2002-09-13 16:06     ` Robert A Duff
2002-09-13 16:28       ` Preben Randhol
  -- strict thread matches above, loose matches on Subject: below --
2002-09-12 22:49 The Dreaded "Missing Subunits" Peter Richtmyer
2002-09-13  8:16 ` Peter Amey
2002-09-13  8:51   ` Ada2005 temp solo child (was: " Peter Hermann
2002-09-14  2:33     ` Robert A Duff

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