c++/6262: Incorrect error message reported when applying sizeof() to non-static class member

gdr@gcc.gnu.org gdr@gcc.gnu.org
Thu Aug 15 04:54:00 GMT 2002


Synopsis: Incorrect error message reported when applying sizeof() to non-static class member

Responsible-Changed-From-To: unassigned->gdr
Responsible-Changed-By: gdr
Responsible-Changed-When: Thu Aug 15 04:54:46 2002
Responsible-Changed-Why:
    Analyzed
State-Changed-From-To: open->feedback
State-Changed-By: gdr
State-Changed-When: Thu Aug 15 04:54:46 2002
State-Changed-Why:
    GCC-3.3 display a different diagnostic; it says:
        type `X' is not a base type for type `Y'
    instead of the previous confusing "cannot convert pointer".
    Isn't that a better diagnostic?

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



More information about the Gcc-bugs mailing list