------- Comment #7 from jason at gcc dot gnu dot org 2006-07-31 08:16 ------- The testcase gives the same errors for me when compiled as normal C++ as in PCH mode.
The problem seems to be that you're removing the Rope_constants namespace name and creating a name lookup collision between the _S_concat enumerator and the _S_concat function in rope. Why would you want to mess with Rope_constants, anyway? It doesn't have any symbols in it, it just controls name lookup. When you take it away, name lookup changes, and things blow up. Moving them to the anonymous namespace has the same effect for name lookup as declaring them directly in __gnu_cxx. Furthermore, defining _Tag in an anonymous namespace will cause the compiler to give all functions with _Tag in their signature internal linkage. I don't understand why you would want this. -- jason at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28514