comp.lang.ada
 help / color / mirror / Atom feed
From: jboulais@sikorsky.com (Boulais, Jeffrey M)
Subject: Gnat binding specific question
Date: 1999/04/06
Date: 1999-04-06T00:00:00+00:00	[thread overview]
Message-ID: <jPrO2.9100$LX.3688653@WReNphoon3> (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 -




             reply	other threads:[~1999-04-06  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-06  0:00 Boulais, Jeffrey M [this message]
1999-04-06  0:00 ` Gnat binding specific question Steve Quinlan
replies disabled

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