comp.lang.ada
 help / color / mirror / Atom feed
* Gnat binding specific question
@ 1999-04-06  0:00 Boulais, Jeffrey M
  1999-04-06  0:00 ` Steve Quinlan
  0 siblings, 1 reply; 2+ messages in thread
From: Boulais, Jeffrey M @ 1999-04-06  0:00 UTC (permalink / raw)


This is a Gnat specific question, so I'm sorry.

I'm getting a circular withing error during binding (Windows NT, Gnat3.11),
here's the error:
   error: elaboration circularity detected
   info:    "dgs (body)" must be elaborated before "dgs (body)"
   info:       reason: Elaborate_All probably needed in unit "dgs (body)"
   info:       recompile "dgs (body)" with -gnatwl for full details
   info:          "dgs (body)"
   info:             is needed by its spec:
   info:          "dgs (spec)"
   info:             which is withed by:
   info:          "mfd_pkg (spec)"
   info:             which is withed by:
   info:          "symbols (body)"
   info:             which is needed by its spec:
   info:          "symbols (spec)"
   info:             which is withed by:
   info:          "dgs (body)"
   gnatmake: *** bind failed.

Now, I checked the documentation (gnat_ug), and it had a section very
specific to this (What to do if the default
elaboration behavior fails).  However, I tried a couple of their fixed to no
avail. I originally had:

   with Symbols ;
   pragma Elaborate (Symbols) ;

in DGS.ADB.  I changed this to "pragma Elaborate_All (Symbols) ;", but it
didn't work.  I also tried passing in the
"-bargs -f" during gnatmake, and that didn't work either, nor did -gnatE
have any effect.  I haven't yet tried
re-arranging the code to remove this "Circular withing" (I personally don't
think it truely is), because it will be time
consuming.  If anyone has any suggestions, I'd appreciate it.  Thanks...



   -**** Posted from RemarQ, http://www.remarq.com/?a ****-
 Search and Read Usenet Discussions in your Browser - FREE -




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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-04-06  0:00 Gnat binding specific question Boulais, Jeffrey M
1999-04-06  0:00 ` Steve Quinlan

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