This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]