From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f410c814fc533225 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-19 13:20:50 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc51.ops.asp.att.net.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: ANNOUNCE: GNAT 3.15p release References: X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 12.234.13.56 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc51.ops.asp.att.net 1037740849 12.234.13.56 (Tue, 19 Nov 2002 21:20:49 GMT) NNTP-Posting-Date: Tue, 19 Nov 2002 21:20:49 GMT Organization: AT&T Broadband Date: Tue, 19 Nov 2002 21:20:49 GMT Xref: archiver1.google.com comp.lang.ada:31115 Date: 2002-11-19T21:20:49+00:00 List-Id: > 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;