comp.lang.ada
 help / color / mirror / Atom feed
* Is anyone using Claw with GNAT 3.15p?
@ 2003-09-26  3:50 Steve
  2003-09-26  5:17 ` tmoran
  0 siblings, 1 reply; 2+ messages in thread
From: Steve @ 2003-09-26  3:50 UTC (permalink / 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)





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-26  5:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-26  3:50 Is anyone using Claw with GNAT 3.15p? Steve
2003-09-26  5:17 ` tmoran

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