From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23160 invoked by alias); 7 Jan 2003 13:31:11 -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 23141 invoked by uid 61); 7 Jan 2003 13:31:10 -0000 Date: Tue, 07 Jan 2003 13:31:00 -0000 Message-ID: <20030107133110.23140.qmail@sources.redhat.com> To: carlo@alinoe.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org From: nathan@gcc.gnu.org Reply-To: nathan@gcc.gnu.org, carlo@alinoe.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/9217: Possible Ambiguity leads to confusing error, or - compiler rejects legal-code: fails to solve ambiguity. X-SW-Source: 2003-01/txt/msg00437.txt.bz2 List-Id: Synopsis: Possible Ambiguity leads to confusing error, or - compiler rejects legal-code: fails to solve ambiguity. State-Changed-From-To: open->closed State-Changed-By: nathan State-Changed-When: Tue Jan 7 05:31:08 2003 State-Changed-Why: not a bug. static C c3( B(str) ); is a prototype for c3 taking an argument B with a parenthesized parameter name. dcl.ambig.res says we should parse it as such , and not a variable with initializer. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9217