From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12810 invoked by alias); 5 Oct 2004 16:05:23 -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 12716 invoked by uid 48); 5 Oct 2004 16:05:20 -0000 Date: Tue, 05 Oct 2004 16:05:00 -0000 Message-ID: <20041005160520.12715.qmail@sourceware.org> From: "nathan at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041004120459.17829.micis@gmx.de> References: <20041004120459.17829.micis@gmx.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/17829] [3.4/4.0 Regression] wrong error: call of overloaded function is ambiguous X-Bugzilla-Reason: CC X-SW-Source: 2004-10/txt/msg00573.txt.bz2 List-Id: ------- Additional Comments From nathan at gcc dot gnu dot org 2004-10-05 16:05 ------- 2004-10-05 Nathan Sidwell PR c++/17829 * parser.c (cp_parser_postfix_expression): Inhibit Koenig when unqualified lookup finds a member function. we were doing koenig lookup when we shouldn't have been. Which is why changing the arg type from ::Qstring to int made it work -- that changed the set of associated namespaces from (::) to (). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17829