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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d3123e94d86dd952 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-25 22:17:33 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc53.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Is anyone using Claw with GNAT 3.15p? References: X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 12.234.124.41 X-Complaints-To: abuse@comcast.net X-Trace: rwcrnsc53 1064553452 12.234.124.41 (Fri, 26 Sep 2003 05:17:32 GMT) NNTP-Posting-Date: Fri, 26 Sep 2003 05:17:32 GMT Organization: Comcast Online Date: Fri, 26 Sep 2003 05:17:32 GMT Xref: archiver1.google.com comp.lang.ada:42963 Date: 2003-09-26T05:17:32+00:00 List-Id: > I downloaded the Claw demo for use with GNAT (Claw_Intro_Gnat.zip). > ... I get compile time errors about circular elaboration. > > Am I doing something wrong? Yes, you are assuming that Gnat by default is an Ada compiler. ;) With 3.15 they changed elaboration handling so you need to include a -gnatE option on the command line to make Gnat accept legal Ada. The current version of Claw has pragma Elaborates all over to explain things to Gnat so -gnatE is not necessary. But those changes haven't yet been made to the demo version. You might also want to grab wglink.exe from www.adapower.com/os/wglink.html so .rc files will get automatically linked in.