[Bug c++/20484] No proper linkage created for in class initialized static const
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Mar 15 16:13:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-15 16:12 -------
You need to declare space for the variable still like so:
int const Test::A;
This is invalid.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20484
More information about the Gcc-bugs
mailing list