From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17648 invoked by alias); 20 Sep 2005 16:43:33 -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 17602 invoked by uid 48); 20 Sep 2005 16:43:29 -0000 Date: Tue, 20 Sep 2005 16:43:00 -0000 Message-ID: <20050920164329.17601.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050920163805.23982.mmarek@suse.cz> References: <20050920163805.23982.mmarek@suse.cz> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/23982] gcc tries to call global function instead of base template's method X-Bugzilla-Reason: CC X-SW-Source: 2005-09/txt/msg02526.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-20 16:43 ------- Yes the behavior in 4.1.0 is the correct behavior as defined by the C++ standard and its Defect reports. This is a dup of bug 5660 which was fixed for 4.1.0. >PS: Sorry if this isn't a bug, I'm not that experienced in C++... The namelookup rules for templates are harder than normal namelookup. *** This bug has been marked as a duplicate of 5660 *** -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23982