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,beb6b378a857b7ea X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-19 23:54:01 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: jidu2851@student.uu.se (=?ISO-8859-1?Q?Jimmy_Dub=E9n?=) Newsgroups: comp.lang.ada Subject: Re: Use of entries using Ravenscar Date: 19 Dec 2001 23:54:01 -0800 Organization: http://groups.google.com/ Message-ID: <4948089f.0112192354.5411f0ed@posting.google.com> References: <4948089f.0112180828.2ea4c80@posting.google.com> NNTP-Posting-Host: 130.238.5.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1008834841 20526 127.0.0.1 (20 Dec 2001 07:54:01 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 20 Dec 2001 07:54:01 GMT Xref: archiver1.google.com comp.lang.ada:18137 Date: 2001-12-20T07:54:01+00:00 List-Id: Hmmm.. maybe I should be a little more precise. Well, more exactly the compiler throws a lot of errors when compiling my old code. I've declared a entry in a protected object (this is the only entry in this PO) with a simple boolean as a "blocker". Now I get compiling errors everywhere I call this entry. Example of compiler error: Protected_Object.Read; >>>expected type "System.Tasking.Protected_Objects.Single_Entry.Protection_Entry_Access" >>>found type access to subtype of "System.Tasking.Protected_Objects.Entries.Protection_Entries" >>>==> in call to "Protected_Single_Entry_Call" at s-tposen.adb:232 This was not a problem with the old compiler, nor is it a problem without pragma ravenscar. Why do I get this problem? Why did not Gnat3.13p use s-tposen.adb even though it existed for the purpose of Ravenscar?