c++/100: [parser] confusing name lookup diagnostic

nathan@gcc.gnu.org nathan@gcc.gnu.org
Fri Nov 9 21:12:00 GMT 2001


Old Synopsis: confusing name lookup diagnostic
New Synopsis: [parser] confusing name lookup diagnostic

State-Changed-From-To: analyzed->suspended
State-Changed-By: nathan
State-Changed-When: Wed Nov 21 02:49:12 2001
State-Changed-Why:
    The cp-parser branch reports,
    incomming/100.ii:10: use of `CftCluster' is ambiguous
    incomming/100.ii:1:   first declared as `class CftCluster' here
    incomming/100.ii:4:   also declared as `typedef class CftCluster d0track::CftCluster' here
    incomming/100.ii:10: `CftCluster' denotes an ambiguous type
    incomming/100.ii:1:   first type here
    incomming/100.ii:1:   other type here
    incomming/100.ii:10: `CftCluster' undeclared (first use this function)
    incomming/100.ii:10: (Each undeclared identifier is reported only once for each function it appears in.)
    incomming/100.ii:10: expected `;'
    which is still wrong, but I'm suspending this until that
    branch is folded into the mainline

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=100&database=gcc



More information about the Gcc-bugs mailing list