"martin.m.dowie" skrev i meddelandet news:Y0PU7.16177$4z5.1732281@news6-win.server.ntlworld.com... > "Jimmy Dub�n" wrote in message > news:9vti1h$183d$1@not.sics.se... > > > Task entries are forbidden but not PO entries but you're only allowed > > > one queued entry at a time... > > > > But this surely does only have one queued entry, right? > > One entry but my understanding of Ravenscar is that only > 1 task may be queued on this single entry at any one time, so > without the rest of your code, we can't make any judgement > on that. This is not a part of the code that is running in the system, it is just a small subset of the code that is similar to the real code, however it does not work! > > > > > The other thing I noticed was that nothing in the code actually > > > required this unit to be withed in at all. (true of a couple of other > > > with's and they certainly don't need to be withed in at the spec > > > level - with things at as low a level as possible). > > > > How can that affect the compiler errors? > > Well, I've never seen it with GNAT but I did come across another > compiler which would did have some strange ideas about what to > compile :-) That was a couple of years ago and there have definately > been new releases of that compiler, so I can say if these "features" > are still there! > > 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 :-( > What? Am I understanding you correctly that you don'tget any compiler errors when you are compiling these files with pragma Ravenscar ???!