------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-10-28 06:24 ------- There is really no easy way to fix this problem. If we were to have -frepo set the random seed to a known value, we'd then get link errors when linking multiple translation units containing anonymous namespaces.
We've discussed giving members of anonymous namespaces internal linkage (from the ELF point of view) even though the C++ standard gives them external linkage. That's probably the right fix, but it will not happen soon. Postponed until GCC 4.1. -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.4.3 |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17775