This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/34094] Undefined static data member in anonymous namespace can acquire a definition anyway



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]