------- Comment #2 from pcarlini at suse dot de 2006-01-30 18:00 ------- Not a bug, this is how name lookup works. And any conforming, up to date, compiler behaves in the same way. You can fix your code moving operator<< inside namespace MyNameSpace.
I'm sure there are many duplicates, I'm going to link C++/7049 (see Comment #6) *** This bug has been marked as a duplicate of 7049 *** -- pcarlini at suse dot de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26037