"Stephen Leake" wrote in message news:usna67xaf.fsf@gsfc.nasa.gov... > jidu2851@student.uu.se (Jimmy Dub�n) writes: > > If I recall correctly, the Ravenscar profile forbids entries. Or maybe > that was only on tasks? Task entries are forbidden but not PO entries but you're only allowed one queued entry at a time... > In any case, this is complaining about the internals of the GNAT > runtime system; note the package name "System.Tasking". It could be > you have some object and/or .ali files hanging around from either "the > old compiler" or "compiling without Pragma (Ravenscar)". Try deleting > _everything_, and recompiling from scratch. 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).