------- Comment #3 from bkoz at gcc dot gnu dot org 2006-07-27 22:32 -------
Changing just the first
case _S_concat:
to
case ::_S_concat:
Fixes this. Wierd.
I noticed a couple of other random lookup issues, or non-issues that surprised
me. One was with static functions in global-scope anonymous namespaces have to
be explicitly qualified with a :: operator. (mt_allocator.cc patches)
global-scope enums used as integer constants in case labels of switch
statements. Fully qualified too?
Anyway. I'll attach the work-in-progress patch to convert libstdc++
__gnu_internal namespace to anonymous namespaces.
-benjamin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28514