This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/25988] Ada: visibility problem with generic child package
- From: "koch at math dot utexas dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jan 2006 05:25:48 -0000
- Subject: [Bug ada/25988] Ada: visibility problem with generic child package
- References: <bug-25988-12080@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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