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 pch/10591] Members of anonymous namespaces get name mangled with header name


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From geoffk at geoffk dot org  2003-06-20 23:02 -------
Subject: Re:  Members of anonymous namespaces get name mangled with header name

> From: Wolfgang Bangerth <bangerth@ices.utexas.edu>
> Date: Fri, 20 Jun 2003 16:37:39 -0500

> > What we want to do with this is to stop giving anonymous
> > namespace members globally-visible names, and then we don't need to make
> > their names unique.
> 
> Yes, except for the open question of how this would interfere with "export". 
> Not that I care about this at the moment, but should be considered before a 
> fix.

I don't see how it could possibly interfere with the current export
non-implementation.  If export gets implemented in future, it'll
require some way to communicate information between translation units,
and while it's doing that it can also ensure that names are unique
(which will surely be one of the smallest problems that need to be
solved).


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