comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: ANNOUNCE: GNAT 3.15p release
Date: Tue, 19 Nov 2002 21:20:49 GMT
Date: 2002-11-19T21:20:49+00:00	[thread overview]
Message-ID: <RWxC9.55518$__1.31039@rwcrnsc51.ops.asp.att.net> (raw)
In-Reply-To: ard5be$fhe$1@a1-hrz.uni-duisburg.de

> I first removed all 3.14 related installations, then installed the
> corresponding 3.15p versions. A Hello World! compiles and runs.
  How about if you add a protected type declaration. I get

gnatbind -x hello.ali
fatal error: file s-osprim.ali is incorrectly formatted
make sure you are using consistent versions of gcc/gnatbind
  ...

  when I do "gnatmake hello" where hello.adb is

with ada.text_io;
procedure hello is
  protected Variable is
    procedure Read(X : out integer);
    procedure write(X : in integer);
  private
    v : integer := 0;
  end variable;

  protected body variable is
    procedure Read(X : out integer) is
    begin x := v;end read;
    procedure write(X : in integer) is
    begin v := x;end write;
  end variable;

begin
  ada.text_io.put_line("hello");
end hello;



  parent reply	other threads:[~2002-11-19 21:20 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-18 17:31 ANNOUNCE: GNAT 3.15p release Arnaud Charlet
2002-11-19  6:03 ` tmoran
2002-11-19 10:55   ` Georg Bauhaus
2002-11-19 19:00     ` tmoran
2002-11-20  0:37       ` tmoran
2002-11-22 10:41       ` Georg Bauhaus
2002-11-22 17:08         ` tmoran
2002-11-19 21:20     ` tmoran [this message]
2002-11-19 22:46       ` Martin Dowie
2002-11-19 23:23         ` tmoran
2002-11-22 10:39         ` Georg Bauhaus
2002-11-19 10:04 ` J�r�me Haguet
2002-11-19 11:24   ` David C. Hoos, Sr.
2002-11-19 11:54     ` Duncan Sands
2002-11-19 13:25       ` J�r�me Haguet
2002-11-19 14:19       ` David C. Hoos
2002-11-19 11:25   ` David C. Hoos, Sr.
2002-11-19 21:37   ` Simon Wright
  -- strict thread matches above, loose matches on Subject: below --
2002-11-22  6:58 tmoran
2002-11-22 10:38 ` Georg Bauhaus
replies disabled

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