c++/9217: Possible Ambiguity leads to confusing error, or - compiler rejects legal-code: fails to solve ambiguity.

nathan@gcc.gnu.org nathan@gcc.gnu.org
Tue Jan 7 13:31:00 GMT 2003


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



More information about the Gcc-prs mailing list