From: "Steve" <nospam_steved94@comcast.net>
Subject: Is anyone using Claw with GNAT 3.15p?
Date: Fri, 26 Sep 2003 03:50:02 GMT
Date: 2003-09-26T03:50:02+00:00 [thread overview]
Message-ID: <FHOcb.432673$cF.137083@rwcrnsc53> (raw)
I downloaded the Claw demo for use with GNAT (Claw_Intro_Gnat.zip).
Unzipped the files into a directory of their own. When I run the "mk*.bat"
files I get compile time errors about circular elaboration.
Am I doing something wrong?
D:\AdaSrc\Libraries\CLAW\Sources>mkadtest
D:\AdaSrc\Libraries\CLAW\Sources>gnatmake -gnato -O2 adtest -largs -mwindows
gcc -c -gnato -O2 adtest.adb
gcc -c -gnato -O2 ad_agency.adb
gnatbind -x adtest.ali
error: elaboration circularity detected
info: "claw.low_dialog (spec)" must be elaborated before
"claw.low_wnd_proc (
body)"
info: reason: with clause
info: "claw.edit.multiline (spec)" must be elaborated before
"claw.low_dialog
(body)"
info: reason: with clause
info: "claw.edit.multiline (spec)" must therefore be elaborated before
"claw.
low_dialog (spec)"
info: (because "claw.low_dialog (spec)" has a pragma Elaborate_Body)
info: "claw.low_wnd_proc (body)" must be elaborated before
"claw.edit.multili
ne (spec)"
info: reason: Elaborate_All probably needed in unit
"claw.edit.multiline (
spec)"
info: recompile "claw.edit.multiline (spec)" with -gnatwl for full
details
info: "claw.low_wnd_proc (body)"
info: must be elaborated along with its spec:
info: "claw.low_wnd_proc (spec)"
info: which is withed by:
info: "claw.edit (body)"
info: which must be elaborated along with its spec:
info: "claw.edit (spec)"
info: which is withed by:
info: "claw.edit.multiline (spec)"
gnatmake: *** bind failed.
Steve
(The Duck)
next reply other threads:[~2003-09-26 3:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-26 3:50 Steve [this message]
2003-09-26 5:17 ` Is anyone using Claw with GNAT 3.15p? tmoran
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox