In article <3386d96f.171920@noticias.ibernet.es> jdlopez@caminos.recol.es writes: > I am making a program with 2 classes that each one depends on the > other: > > --class1.ads > with class2; > package class1 is > --... > > --class2.ads > withc class1; > package class2 is > --... > > When I compile class1.ads or class2.ads with the freeware gnat > ADA 95 (301a) a error appears: > > circular unit dependency > > I see what is happening but: Uh-Oh. The recursive types across package boundaries issue again! Run for it!! :-) This is an old issue that (rightly, I suppose) keeps coming up now and again. John Volan has a kind of generally agreed upon idiom for getting around this issue using generics. Maybe he will post his old notes on the reasons he got where he did. Or maybe it should be put out on www.adahome.com?? Or you can read it in the Ada=>IDL mapping document (where we used it to get around the problem of mapping recursive IDL specs...) > 2- �Could it be compiled with any compiler different from gnat? Not if it is correct. BTW, whatever happened to Tucker's plan for the fix for this? The "with P.T" solution? I thought that was going to be an ACE thing or some such, but haven't heard anything about it since. /Jon -- Jon Anthony Organon Motives, Inc. Belmont, MA 02178 617.484.3383 jsa@organon.com