http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56044
--- Comment #5 from Dimitris Papavasiliou <dpapavas at gmail dot com> 2013-01-20 11:09:57 UTC --- Actually trying out -Wno-shadow indicates that it doesn't make any difference in this case. The compiler keeps complaining about the instance variable being hidden by the local one. If there is another warning option I can use to turn it off please let me know as I couldn't find it.