------- Comment #2 from redi at gcc dot gnu dot org 2010-06-17 19:57 ------- The program has undefined behaviour because it declares a name in namespace std, which is reserved for the implementation. You can workaround this as Andrew suggests, but the behaviour is still technically undefined.
-- redi at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44571