This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug pch/10591] Members of anonymous namespaces get name mangled with header name
- From: "bangerth at ices dot utexas dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jun 2003 23:08:53 -0000
- Subject: [Bug pch/10591] Members of anonymous namespaces get name mangled with header name
- References: <20030501232600.10591.bangerth@dealii.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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 bangerth at ices dot utexas dot edu 2003-06-20 23:08 -------
Subject: Re: Members of anonymous namespaces get name mangled with header name
> 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).
I totally agree. I don't see a problem there either. That was just one of the
reasons I heard a while back when this topic was brought up before. (No,
don't ask me when and where this was.) I'd favor going the way with internal
linkage now, and think about the interaction with export when that is
imminent. AFAIK, nobody ever even uttered he'd be interested in implementing
export...
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ices.utexas.edu
www: http://www.ices.utexas.edu/~bangerth/