c++/10634: in-class initialization of static data members no longer allowed
giovannibajo@libero.it
giovannibajo@libero.it
Tue May 6 01:57:00 GMT 2003
Synopsis: in-class initialization of static data members no longer allowed
State-Changed-From-To: open->closed
State-Changed-By: bajo
State-Changed-When: Tue May 6 01:50:09 2003
State-Changed-Why:
Not a bug. GCC does the right thing now: §9.4.2 specifies
that only static data member of const integral or const
enumeration type can be initialized at declaration time.
"unsigned char* const" is not a const integral type.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10634
More information about the Gcc-bugs
mailing list