From: "stuart clark" <stuartlclark@hotmail.com>
Subject: How did dynamic elaboration fix cyclic elaboration error???
Date: 6 Apr 2006 15:59:33 -0700
Date: 2006-04-06T15:59:33-07:00 [thread overview]
Message-ID: <1144364373.517170.92020@z34g2000cwc.googlegroups.com> (raw)
I have some old UATL code i had compiled up into a library. When i
attempted to create an executable proram that used thelibrary i got a
bind error, "cyclic elaboration error". The info on the error report
was;
1. uatl_stim_response_device_interface must be elaborated before
uatl_function_task
2. uatl_function_task must be elaborated before
uatl_stim_response_message_routing.
3. uatl_stim_response_message_routing must be elaborated before
uatl_stim_response_device_interface
that is
a. uatl_stim_response_device_interface with's
uatl_stim_response_message_routing
b. uatl_stim_response_message_routing with's utal_function_task
c. utal_function_task with's uatl_stim_response_device_interface.
i had the appropriate pragma elaborates in the bodies for each of the
packages involed in the above errors, ie
uatl_stim_response_device_interface package body had pragam
elaborate(uatl_stim_response_message_routing).
We are using Gnat Pro here at work and one of the guys i'm working with
suggested turning on dynamic_elaboration in the UATL library, ie the
ada compile gnat switch -gnatE. Note I also took out the pragma
elaborates described above.
This worked !!! the bind error disappeared.
DOES ANYONE KNOW WHY???
Stuart Clark.
next reply other threads:[~2006-04-06 22:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-06 22:59 stuart clark [this message]
2006-04-06 23:45 ` How did dynamic elaboration fix cyclic elaboration error??? Robert A Duff
2006-04-07 6:02 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox