[Bug pch/10591] Members of anonymous namespaces get name mangled with header name

bangerth at ices dot utexas dot edu gcc-bugzilla@gcc.gnu.org
Fri Jun 20 23:12: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 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/



More information about the Gcc-bugs mailing list