comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com
Subject: Children of private compilation units
Date: 1999/05/18
Date: 1999-05-18T00:00:00+00:00	[thread overview]
Message-ID: <7hslge$qad$1@nnrp1.deja.com> (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.---




             reply	other threads:[~1999-05-18  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-18  0:00 dennison [this message]
1999-05-19  0:00 ` Children of private compilation units Tucker Taft
1999-05-25  0:00   ` Robert Dewar
1999-05-25  0:00     ` dennison
replies disabled

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