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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,23b61d4dfe367913 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news2.google.com!newsread.com!newsprint.newsread.com!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!newscon06.news.prodigy.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 13 Apr 2005 13:16:52 -0500 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: graphical output on win xp with gnavi-package References: X-Newsreader: Tom's custom newsreader Message-ID: Date: Wed, 13 Apr 2005 13:16:52 -0500 NNTP-Posting-Host: 67.161.24.234 X-Trace: sv3-vKImdtV7T4dqKf3XPRcZ8Qk6i/B44zhiT6RZ1RWedMf9Nd2BCSukP5nNyrvsw1FBUO58TWewiTLBRAY!Bx0pdKU42o1QRhoz74jWhrN0YyJtzO4ORR7KFawfdCw/nCKcP688FSW92mG/JQ== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news1.google.com comp.lang.ada:10433 Date: 2005-04-13T13:16:52-05:00 List-Id: > > >gnatbind -x shapes.ali > > >error: elaboration circularity detected > > ... > > Their second suggestion is to use the "-gnatE" > > option so "The behavior is then exactly as specified in the Ada 95 > > Reference Manual." Claw assumes Ada 95 behavior. > It doesn't work that way either! What does this -gnatE option mean? What do you mean by "It doesn't work that way either!"? Did you modify mkshapes.bat so the gnatmake line reads gnatmake -gnatE -gnato -O2 shapes -largs -mwindows shapes.rbj and you still get "error: elaboration circularity detected"? "-gnatE" means use dynamic, instead of static, elaboration checking. For more discussion search for "gnatE" in the Gnat Users Guide. > How is it possible that the authors of claw didnt respect that possibility? This author of Claw at least did not predict that ACT would change, from one version to the next, the default behavior of "gnatmake" so it would no longer compile Ada code. > This concerns every user of gnat 3.15, doesn't it? This does concern every user of gnat 3.15, but I presume ACT finds that most of their user's programs are simpler (in terms of elaboration) and their static checking works fine. Note that static checking (unlike the case for -gnato) does not ignore errors - it is *more* restrictive. So if a program works with static checking it doesn't need a -gnatE. > What else can I try to solve the problem? Insert the -gnatE option on the gnatmake line in mkshapes.bat et al. If that doesn't work, please post the exact error message and the exact content of the failing mkshapes.bat file.