Standard disclaimer: I cannot approve anything though. Yes things have changed recently. Your patch is needed, see <http://gcc.gnu.org/onlinedocs/gcc/Name-lookup.html#Name%20lookup>. Looks like this was missed when the changes to the c++ front-end went in. Thanks, Andrew Pinski