Georg Bauhaus a �crit dans le message : 87mugk$sa3$1@news-hrz.uni-duisburg.de... > with A.B; > package body B.A is > > begin > declare > use A.B; -- compiler says: "B" not declared in "A" > begin > null; > end; > end B.A; > > This only happens if the use clause is in A.B body statements, > there is no error message when it is in the context clause of A.B. > Is there a way out of this, other than choosing different names > (which works)? > The closest 'A' that is visible is B.A, so you "use A.B" really means "use B.A.B". If you want to be absolutely, unambiguously sure of what you name, start with Standard: use Standard.A.B; (unless you have also redefined locally Standard, but that would *really* be looking for trouble :-) -- --------------------------------------------------------- J-P. Rosen (Rosen.Adalog@wanadoo.fr) Visit Adalog's web site at http://pro.wanadoo.fr/adalog