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-23 01:23:29 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.bredband.com!bredband!newsfeed1.telenordia.se!algonet!uab.ericsson.se!news.sics.se!not-for-mail From: "Jimmy Dub�n" Newsgroups: comp.lang.ada Subject: Re: Use of entries using Ravenscar Date: Sat, 22 Dec 2001 23:56:12 +0100 Organization: Swedish Institute of Computer Science Message-ID: References: <4948089f.0112180828.2ea4c80@posting.google.com> <4948089f.0112192354.5411f0ed@posting.google.com> <9vti1h$183d$1@not.sics.se> NNTP-Posting-Host: fatburen176.fatburen.org X-Trace: not.sics.se 1009098524 7327 194.236.216.176 (23 Dec 2001 09:08:44 GMT) X-Complaints-To: usenet@not.sics.se NNTP-Posting-Date: 23 Dec 2001 09:08:44 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:18255 Date: 2001-12-23T09:08:44+00:00 List-Id: > > > I presume you are using a Unix/Linux machine? On Win32 there is > > > a complaint about trying to attach the ISR but no sign of your original > > > problem, with or without the spurious "with"s. Sorry :-( > > Yes, we're working with Linux2.14 (or so) and UNIX. > > What? Am I understanding you correctly that you don'tget any compiler > errors > > when you are compiling these files with pragma Ravenscar ???! > > 'Fraid so! (other than the aforementioned error on > 'pragma Attach_Handler') 4 warnings about not using > anything in the units 'with'-ed but other than that a clean > compile (after commenting out the 'pragma Attach...'). > > I'm using Win32 GNAT 3.13p (20000509) with options > "-gnatybefhik -gnato -gnatv" I also tried the other options > "-gnaty -gnato -gnatv -gnatwe -gnatwl -gnatwu". There > is a fair bit of 'tidying' to do to keep GNAT happy about > formating but again a clean compilation/link occurs. Hmmm, OK - as I said in my original question this problem occured when I switched to the new compiler 3.14a1 that we're (suddenly) supposed to use in the project I'm working on. (Project description (for the interested): http://www.docs.uu.se/robocup/DVP2001/) And I'm aware of the warnings I get for my hideous code:-) So I do not have these problems with 3.13p, but unfortunately we must use this new one. How do one attach a procedure to a signal with Ravenscar? I know that one can do it, if it is done statically but somehow that's not what I'm doing. > > I don't understand why you are trying to use these > packages directly - aren't they just there for the benefit > of the compiler? (Though I'm guessing that it isn't the > use of them directly that is causing the problem - dodgy > installation of GNAT maybe?) > Well, the with of System.Tasking.Protected_Objects.Single_Entry should not be there, I did put them there to see if that should solve my problem. Anyway, thank you for the help you have been trying to provide. I appreciate it since it is my first semester with Ada.