comp.lang.ada
 help / color / mirror / Atom feed
* Children of private compilation units
@ 1999-05-18  0:00 dennison
  1999-05-19  0:00 ` Tucker Taft
  0 siblings, 1 reply; 4+ messages in thread
From: dennison @ 1999-05-18  0:00 UTC (permalink / raw)


I have a situation where Gnat and ObjectAda are giving me conflicting
results.

The situation is basicly this

package A is ....

private package A.B is ...

package A.B.C is ...

with A.B.C;

procedure A.Fred is ...

This compiled fine for one developer using ObjectAda. But with Gnat, I
get:
current unit must also be private descendant of "JPATS_Aircraft_Body"
on the with statement.

So what are compilers *supposed* to do in this situation? I can't find
anything helpful in the LRM. Cohen seems to say this is OK. What's the
truth?

--
T.E.D.


--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---




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

end of thread, other threads:[~1999-05-25  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-05-18  0:00 Children of private compilation units dennison
1999-05-19  0:00 ` Tucker Taft
1999-05-25  0:00   ` Robert Dewar
1999-05-25  0:00     ` dennison

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