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 21:38:22 -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 21:38 -------
Subject: Re: Members of anonymous namespaces get name mangled with header name
> 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.
On the other hand, I care very much about this particular PR, since one cannot
use PCH with BOOST at present :-( I am mostly neutral whether this is fixed
by munging names of giving them internal linkage, as long as it's being
fixed...
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ices.utexas.edu
www: http://www.ices.utexas.edu/~bangerth/