* error: elaboration circularity detected on notify's example
@ 2003-03-06 7:53 abdel
2003-03-06 9:18 ` tmoran
0 siblings, 1 reply; 6+ messages in thread
From: abdel @ 2003-03-06 7:53 UTC (permalink / raw)
what that means when i compile the NOTIFY example ?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: error: elaboration circularity detected on notify's example
2003-03-06 7:53 error: elaboration circularity detected on notify's example abdel
@ 2003-03-06 9:18 ` tmoran
2003-03-06 10:53 ` abdel
0 siblings, 1 reply; 6+ messages in thread
From: tmoran @ 2003-03-06 9:18 UTC (permalink / raw)
> what that means when i compile the NOTIFY example ?
Gnat 3.15 has changed their handling of elaboration order.
Take another look at the Notify example's readme.txt and you'll notice
that it says to use "-gnatE" on the gnatmake line to get proper elaboration
handling. The older Claw examples on www.adapower.com suffer from the
same problem when compiled with Gnat 3.15 - their .bat files no longer
work until you insert -gnatE on the gnatmake command line.
It's possible to skip the need for -gnatE by judicious placement of
pragmas to instruct the compiler, and RR Software has done that for $>0
Claw. Until those changes get propagated to the older version on
adapower, add -gnatE to the .bat files.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: error: elaboration circularity detected on notify's example
2003-03-06 9:18 ` tmoran
@ 2003-03-06 10:53 ` abdel
2003-03-06 16:51 ` tmoran
0 siblings, 1 reply; 6+ messages in thread
From: abdel @ 2003-03-06 10:53 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1010 bytes --]
<tmoran@acm.org> a �crit dans le message news:
JnE9a.376015$vm2.283397@rwcrnsc54...
> > what that means when i compile the NOTIFY example ?
> Gnat 3.15 has changed their handling of elaboration order.
> Take another look at the Notify example's readme.txt and you'll notice
> that it says to use "-gnatE" on the gnatmake line to get proper
elaboration
> handling. The older Claw examples on www.adapower.com suffer from the
> same problem when compiled with Gnat 3.15 - their .bat files no longer
> work until you insert -gnatE on the gnatmake command line.
> It's possible to skip the need for -gnatE by judicious placement of
> pragmas to instruct the compiler, and RR Software has done that for $>0
> Claw. Until those changes get propagated to the older version on
> adapower, add -gnatE to the .bat files.
I have added -gnatE just after gnatmake to all .bat files and have changed
in "tools" "GNAT option in current directory" on line gnatmake: "-gnatE" and
the problem is alwais there
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: error: elaboration circularity detected on notify's example
2003-03-06 10:53 ` abdel
@ 2003-03-06 16:51 ` tmoran
2003-03-07 7:39 ` abdel
0 siblings, 1 reply; 6+ messages in thread
From: tmoran @ 2003-03-06 16:51 UTC (permalink / raw)
> I have added -gnatE just after gnatmake to all .bat files and have changed
> in "tools" "GNAT option in current directory" on line gnatmake: "-gnatE" and
> the problem is alwais there
Gnatmake probably didn't recompile things. erase *.o and erase *.ali
for the Claw and Notify files (or just erase the directories you unzipped
into and re-unzip). Then run the compilations with the -gnatE parameter.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: error: elaboration circularity detected on notify's example
2003-03-06 16:51 ` tmoran
@ 2003-03-07 7:39 ` abdel
2003-03-07 8:01 ` tmoran
0 siblings, 1 reply; 6+ messages in thread
From: abdel @ 2003-03-07 7:39 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 867 bytes --]
<tmoran@acm.org> a �crit dans le message news:
V%K9a.372965$HN5.1582190@rwcrnsc51.ops.asp.att.net...
> > I have added -gnatE just after gnatmake to all .bat files and have
changed
> > in "tools" "GNAT option in current directory" on line gnatmake: "-gnatE"
and
> > the problem is alwais there
> Gnatmake probably didn't recompile things. erase *.o and erase *.ali
> for the Claw and Notify files (or just erase the directories you unzipped
> into and re-unzip). Then run the compilations with the -gnatE parameter.
thank you for your help i did do what you have said and it goes but only for
one of them i have
>gantmake -gnatE -gnato -O2 diners -largs -mwindows diners.rbj
gnatbind -x diners.ali
gnatlink -mwindows diners.rbj diners.ali
gcc.exe: Diners.Res: No such file or directory
gnatlink: cannot call C:\GNAT\bin\gcc.exe
gnatmake: *** link failed.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: error: elaboration circularity detected on notify's example
2003-03-07 7:39 ` abdel
@ 2003-03-07 8:01 ` tmoran
0 siblings, 0 replies; 6+ messages in thread
From: tmoran @ 2003-03-07 8:01 UTC (permalink / raw)
> gcc.exe: Diners.Res: No such file or directory
It's too late at night, but IIRC Gnat 3.15 also made changes in handling
Windows resource files. Search the Gnat docs, or go to
www.adapower.com/os/wglink.html for a shell that makes Gnat handle
resource files conveniently. Sorry about the adapower Claw examples,
like Diners, that were posted prior to Gnat 3.15 I'll see about
updating them.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-03-07 8:01 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-06 7:53 error: elaboration circularity detected on notify's example abdel
2003-03-06 9:18 ` tmoran
2003-03-06 10:53 ` abdel
2003-03-06 16:51 ` tmoran
2003-03-07 7:39 ` abdel
2003-03-07 8:01 ` tmoran
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox