This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9217: Possible Ambiguity leads to confusing error, or - compiler rejects legal-code: fails to solve ambiguity.
- From: nathan at gcc dot gnu dot org
- To: carlo at alinoe dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 7 Jan 2003 13:31:10 -0000
- Subject: Re: c++/9217: Possible Ambiguity leads to confusing error, or - compiler rejects legal-code: fails to solve ambiguity.
- Reply-to: nathan at gcc dot gnu dot org, carlo at alinoe dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
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