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 c++/18077] [3.3/3.4/4.0 Regression] Members of anonymous namespaces get name mangled with first global variable instead of file name


------- Additional Comments From fafa at freesurf dot ch  2004-10-28 17:27 -------
(In reply to comment #2)
> Using -z muldefs is beyond the scope of the C++ standard.
> 
> There is no way to win for everyone here; some people really do not want the
> random names because they want predictability from the compiler.

If the name of a symbol depends on the order of definition of variables which 
have nothing to do with this symbol, it's just as "random". And if I use the 
unnamed namespace first, I get what you call "random name" anyway. Is this 
predictable ?


-- 


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


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