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++/41970] Unjustified "anonymous type" warning



------- Comment #6 from redi at gcc dot gnu dot org  2009-11-06 18:27 -------
Members of anonymous namespaces do not necessarily have internal linkage,
that's the point.  They are local to a translation unit, but can still have
external linkage.

N.B. for GCC 4.2 and later "Members of the anonymous namespace are now local to
a particular translation unit, along with any other declarations which use
them, though they are still treated as having external linkage for language
semantics."
>From http://gcc.gnu.org/gcc-4.2/changes.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41970


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