From: dewarr@my-dejanews.com
Subject: Re: Circular Elaboration
Date: 1998/11/12
Date: 1998-11-12T00:00:00+00:00 [thread overview]
Message-ID: <72dj4m$soq$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 727kvi$s42$1@nnrp1.dejanews.com
In article <727kvi$s42$1@nnrp1.dejanews.com>,
tgederberg@my-dejanews.com wrote:
> Hi,
> I'm trying to port a program written in Ada 83 on a Dec
Alpha to Ada 95 (Gnat)
> on windows NT. During binding I get several circular
elaboration error
> messages. One of the messages is like:
>
> "E (spec)" must be elaborated before "A (body)"
> "A (spec)" must be elaborated before E (spec)"
> "E (body)" must be elaborated before "A (spec)"
> reason: Elaborate_All probably needed in unit "A (spec)"
> "E (body)"
> is needed by its spec:
> "E (spec)"
> which is withed by:
> "A (body)"
> which is needed by its spec:
> "A (spec)"
> which is withed by:
> "D (spec)"
> which is withed by:
> "C (body)"
> which is needed by its spec:
> "C (spec)"
> which is withed by:
> "B (body)"
> which is needed by its spec:
> "B (spec)"
> which is withed by:
> "A (spec)"
>
> I tried doing the Elaborate_All in the "A (spec)" as
suggested by the
> compiler, but get the same error (except it now says the
reason is that I am
> using the Elaborate_All pragam).
>
> Any ideas or suggestions would be greatly appreciated.
>
> -----------== Posted via Deja News, The Discussion
Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or
Start Your Own
>
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
next prev parent reply other threads:[~1998-11-12 0:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-09 0:00 Circular Elaboration tgederberg
1998-11-10 0:00 ` Mark
1998-11-12 0:00 ` dewarr
1998-11-19 0:00 ` News
1998-11-21 0:00 ` dewar
1998-11-21 0:00 ` Corey Ashford
1998-11-12 0:00 ` dewarr [this message]
1998-11-13 0:00 ` Mats Weber
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox