comp.lang.ada
 help / color / mirror / Atom feed
* Compilation halts on GNAT 3-13p, RedHat6.2 Linux
@ 2001-08-20 16:10 Frank
  2001-08-20 21:01 ` Mark Johnson
  0 siblings, 1 reply; 4+ messages in thread
From: Frank @ 2001-08-20 16:10 UTC (permalink / raw)


Hi!

The following code causes my compilation to halt (possibly loop forever).
It's beyond doubt that there are errors in the code, but the compilator
doesn't output anything.
My GNAT/gtk is recompiled with s-stratt.ad? for GLADE.
Could there be someone that could try to compile this on a un-GLADE GNAT
3-13p installation,
and give me the result? Please also note which parameters you succeded with
.

I have tried:

gnatgcc -c -O2 pa_tennis_engine.adb
and without options at all.

Frank

----------------------------------------------------------------------------
------------------------------------
package PA_TENNIS_ENGINE is
  pragma Remote_Call_Interface;

  type TYPE_GET_RACKET is access procedure (P_POS : out
PA_POSITION.TYPE_POSITION);
  type TYPE_MOVE_MY_RACKET is access procedure (P_POS : in
PA_POSITION.TYPE_POSITION);

  procedure REGISTER  (P_REQUESTORS_MOVE_RACKET : out TYPE_MOVE_MY_RACKET;
                       P_REQUESTORS_GET_RACKET  : out TYPE_GET_RACKET;
                      P_OPPONENTS_GET_RACKET   : out TYPE_GET_RACKET);

end PA_TENNIS_ENGINE;



----------------------------------------------------------------------------
------------------------------------

with TEXT_IO;
package body PA_TENNIS_ENGINE is

  procedure REGISTER (P_REQUESTORS_MOVE_RACKET : out TYPE_MOVE_MY_RACKET;
                      P_REQUESTORS_GET_RACKET  : out TYPE_GET_RACKET;
                      P_OPPONENTS_GET_RACKET   : out TYPE_GET_RACKET)
  is
  begin
      P_OPPONENTS_GET_RACKET := GET_L_RACKET'Access;
  end REGISTER;


end PA_TENNIS_ENGINE;











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

end of thread, other threads:[~2001-08-21 14:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-20 16:10 Compilation halts on GNAT 3-13p, RedHat6.2 Linux Frank
2001-08-20 21:01 ` Mark Johnson
2001-08-20 21:23   ` Frank
2001-08-21 14:46   ` Frank

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