This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50158] [4.7 Regression] invalid 'variable set but not used' warning (boolean used as an index to an array)
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 22 Aug 2011 19:21:43 +0000
- Subject: [Bug c++/50158] [4.7 Regression] invalid 'variable set but not used' warning (boolean used as an index to an array)
- Auto-submitted: auto-generated
- References: <bug-50158-4@http.gcc.gnu.org/bugzilla/>
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...