This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]