c++/6945: A static constant that is initialize inline is not create if only a temperary is used
lerdsuwa@gcc.gnu.org
lerdsuwa@gcc.gnu.org
Fri Jun 7 07:12:00 GMT 2002
Synopsis: A static constant that is initialize inline is not create if only a temperary is used
State-Changed-From-To: open->closed
State-Changed-By: lerdsuwa
State-Changed-When: Fri Jun 7 07:12:16 2002
State-Changed-Why:
Not a bug. You have to define 'i' by adding
const int T::i;
after the definition of class T.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6945
More information about the Gcc-bugs
mailing list