------- Comment #2 from koch at math dot utexas dot edu 2006-01-29 05:25 ------- (In reply to comment #1) > Confirmed present on 4.0.2 (release), > 4.1.0 20060126 (prerelease) > 4.2.0 20060126 (experimental) > > Another way to make it work is to be explicit in foo.adb: > package Numbers_Z is new Numbers.Z (S_X.Z.S_Two); >
I agree, this is another possible workaround - more cumbersome than the one I mentioned, in cases where there are large numbers of arguments (as in the program where I originally encountered this problem). My posting was mostly intended to draw attention to a possible compiler bug. Maybe it helps making a great compiler even better. -- koch at math dot utexas dot edu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25988