> The code below passes gcc 20000604, but not KCC 3.4. > Which compiler is correct? Thanks for your bug report. I'd say g++ is correct; you certainy can use a namespace-name as a nested name when declaring a friend. Regards, Martin