comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: graphical output on win xp with gnavi-package
Date: Wed, 13 Apr 2005 13:16:52 -0500
Date: 2005-04-13T13:16:52-05:00	[thread overview]
Message-ID: <gN-dnVbOWI-J_8DfRVn-1Q@comcast.com> (raw)
In-Reply-To: e499e546.0504130719.3c2a8a18@posting.google.com

> > >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.



  reply	other threads:[~2005-04-13 18:16 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-07 15:45 graphical output on win xp with gnavi-package Duke Luke
2005-04-07 23:32 ` Randy Brukardt
2005-04-08 13:57   ` Duke Luke
2005-04-08 18:33     ` Randy Brukardt
2005-04-08 14:52 ` Dmitry A. Kazakov
2005-04-08 18:47   ` Duke Luke
2005-04-08 20:21     ` Dmitry A. Kazakov
2005-04-08 20:41     ` Gautier Write-only
2005-04-08 20:42     ` tmoran
2005-04-09 11:51       ` Duke Luke
2005-04-09 18:30         ` tmoran
2005-04-11  5:37           ` Duke Luke
2005-04-12 16:18           ` Duke Luke
2005-04-12 17:24             ` tmoran
2005-04-13 15:19               ` Duke Luke
2005-04-13 18:16                 ` tmoran [this message]
2005-04-14  6:24                   ` Duke Luke
2005-04-14 17:54                     ` tmoran
2005-04-15 10:04 ` Duke Luke
2005-04-15 17:56   ` tmoran
2005-04-16  9:58     ` Duke Luke
replies disabled

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