http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50158
Zdenek Sojka <zsojka at seznam dot cz> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[4.7 Regression] invalid |[4.7 Regression] invalid |'variable set but not used' |'variable set but not used' |warning (boolean used as |warning (boolean used as an |index to an array) |index to an array) --- Comment #1 from Zdenek Sojka <zsojka at seznam dot cz> 2011-08-22 19:21:43 UTC --- > The warning is give only when compiles as C++. I am sorry for all the typos...