c++/9287: [parser] [3.4 regression] g++ rejects static member in-class initialization of type `const char* const'
reichelt@igpm.rwth-aachen.de
reichelt@igpm.rwth-aachen.de
Mon Jan 13 18:58:00 GMT 2003
Synopsis: [parser] [3.4 regression] g++ rejects static member in-class initialization of type `const char* const'
State-Changed-From-To: open->closed
State-Changed-By: reichelt
State-Changed-When: Mon Jan 13 10:38:14 2003
State-Changed-Why:
Not a bug.
In-class initialization of static data members is only allowed
for integral types - and not character arrays.
Yes, previous versions of gcc were less picky.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9287
More information about the Gcc-bugs
mailing list