From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11295 invoked by alias); 24 Dec 2001 21:22:04 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 11263 invoked by uid 61); 24 Dec 2001 21:22:03 -0000 Date: Mon, 24 Dec 2001 13:22:00 -0000 Message-ID: <20011224212203.11262.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, martin@loewis.home.cs.tu-berlin.de, nathan@gcc.gnu.org, sebor@roguewave.com From: nathan@gcc.gnu.org Reply-To: nathan@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, martin@loewis.home.cs.tu-berlin.de, nathan@gcc.gnu.org, sebor@roguewave.com, gcc-gnats@gcc.gnu.org X-Mailer: gnatsweb 2.9.3 Subject: Re: c++/189: parse error in qualified member name lookup X-SW-Source: 2001-12/txt/msg01102.txt.bz2 List-Id: Synopsis: parse error in qualified member name lookup State-Changed-From-To: analyzed->feedback State-Changed-By: nathan State-Changed-When: Mon Dec 24 13:22:03 2001 State-Changed-Why: I don't think the code is well formed. [3.4.5]/1 is the paragraph of interest, I don't see how [3.4.3.1] applies. this is an id-expression (which might be a qualified-id or an unqualified-id) We need to lookup 'A' in the class of 'B'. 'A' is not a member of 'A', so lookup does not find anything. We then lookup 'A' in the context of the entire expression. Again, this does not find anything. We therefore interpret the '<' as a less than operator. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=189