c++/61: static initializers cannot access private members
nathan@gcc.gnu.org
nathan@gcc.gnu.org
Sun Dec 9 12:57:00 GMT 2001
Synopsis: static initializers cannot access private members
State-Changed-From-To: analyzed->closed
State-Changed-By: nathan
State-Changed-When: Sun Dec 9 12:29:55 2001
State-Changed-Why:
Ahem, this code is ill formed.
you meant to write
void (Widget::*Widget::fptr[])(int) const = {
what you did write is a nonmember var!
With that correction, things are ok
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=61&database=gcc
More information about the Gcc-bugs
mailing list