------- Comment #4 from bkoz at gcc dot gnu dot org 2006-09-04 15:25 -------
...this is a PCH vs. anonymous namespace issue. Crack smoking! If PCH is incommpatible with anonymous namespaces, then -Winvalid-pch needs to warn about it at the time of pch creation. I'm going to check in a fix to this, in that I'm going to revert to using stdc++.h and remove the one use of anonymous namespaces. I'll also make an enhancement request about -Winvalid-pch vs. anonymous namespaces. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28871