From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d2124d0c0c2ae797,start X-Google-Attributes: gid103376,public From: jboulais@sikorsky.com (Boulais, Jeffrey M) Subject: Gnat binding specific question Date: 1999/04/06 Message-ID: #1/1 X-Deja-AN: 463316916 X-Trace: WReNphoon3 923421007 10.0.2.36 (Tue, 06 Apr 1999 10:50:07 PDT) Organization: http://www.remarq.com: The World's Usenet/Discussions Start Here NNTP-Posting-Date: Tue, 06 Apr 1999 10:50:07 PDT Newsgroups: comp.lang.ada Date: 1999-04-06T00:00:00+00:00 List-Id: 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 -