[Bug c++/50158] [4.7 Regression] invalid 'variable set but not used' warning (boolean used as an index to an array)

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Mon Aug 22 20:03:00 GMT 2011


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...



More information about the Gcc-bugs mailing list