From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2841 invoked by alias); 29 Jan 2006 05:25:52 -0000 Received: (qmail 2831 invoked by uid 48); 29 Jan 2006 05:25:48 -0000 Date: Sun, 29 Jan 2006 05:25:00 -0000 Message-ID: <20060129052548.2830.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug ada/25988] Ada: visibility problem with generic child package In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "koch at math dot utexas dot edu" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-01/txt/msg03182.txt.bz2 List-Id: ------- 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