From: tgederberg@my-dejanews.com
Subject: Circular Elaboration
Date: 1998/11/09
Date: 1998-11-09T00:00:00+00:00 [thread overview]
Message-ID: <727kvi$s42$1@nnrp1.dejanews.com> (raw)
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
next reply other threads:[~1998-11-09 0:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-09 0:00 tgederberg [this message]
1998-11-10 0:00 ` Circular Elaboration 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
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