[Bug c++/31226] static const volatile variables don't get linked correctly
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Mar 16 18:01:00 GMT 2007
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-03-16 18:01 -------
You forgot to declare it, you only defined it.
Add:
bool const volatile A::doit;
to your code and it will work.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31226
More information about the Gcc-bugs
mailing list