[Bug c++/34094] Undefined static data member in anonymous namespace can acquire a definition anyway
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Nov 14 19:21:00 GMT 2007
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-11-14 19:21 -------
IIRC this is not required to be diagnostic anyways. What is happening is that
we now mark the static data member as local to the TU which forces it to be
outputted.
This is only an issue in an anonymous namespace.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Undefined static data member|Undefined static data member
|can acquire a definition |in anonymous namespace can
|anyway |acquire a definition anyway
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34094
More information about the Gcc-bugs
mailing list