[Bug pch/10591] Members of anonymous namespaces get name mangled with header name
geoffk at geoffk dot org
gcc-bugzilla@gcc.gnu.org
Fri Jun 20 23:02:00 GMT 2003
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).
More information about the Gcc-bugs
mailing list