http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57743 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note int does not have an associated namespace which is the issue here. There is a defect report against the C++ standard about that.