From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17897 invoked by alias); 12 Oct 2012 14:26:06 -0000 Received: (qmail 17829 invoked by uid 48); 12 Oct 2012 14:25:46 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/54909] gcc does not recognize member function template when identical named pure virtual method exists Date: Fri, 12 Oct 2012 14:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Resolution Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-10/txt/msg01189.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54909 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #1 from Jonathan Wakely 2012-10-12 14:25:44 UTC --- This is nothing to do with pure virtual functions, it's just the usual name hiding rule. You need to add "using A::foo;" to B to make the name visible.