From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12290 invoked by alias); 3 May 2004 10:24:31 -0000 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 Received: (qmail 12283 invoked by uid 48); 3 May 2004 10:24:31 -0000 Date: Mon, 03 May 2004 10:24:00 -0000 From: "jbeulich at novell dot com" To: gcc-bugs@gcc.gnu.org Message-ID: <20040503102428.15260.jbeulich@novell.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/15260] New: base class typedef referred through 'using' declaration still unusable without qualification X-Bugzilla-Reason: CC X-SW-Source: 2004-05/txt/msg00158.txt.bz2 List-Id: template class n; template class b { protected: typedef n n_t; }; template class d : private b { using typename b::n_t; public: n_t*test0(); typename n_t*test1(); typename b::n_t*test2(); }; void test() { d di; di.test0(); di.test1(); di.test2(); } results in errors on the unqualified uses of n_t in class d. I cannot see anything invalid with these constructs, nor can Intel's or a couple of other compilers I tried this with. -- Summary: base class typedef referred through 'using' declaration still unusable without qualification Product: gcc Version: 3.4.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jbeulich at novell dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-suse-linux GCC host triplet: i686-suse-linux GCC target triplet: i686-suse-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15260