This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/8715] '~' operator for unsigned char and conversion to bool
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Dec 2006 19:17:48 -0000
- Subject: [Bug c++/8715] '~' operator for unsigned char and conversion to bool
- References: <bug-8715-1654@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from manu at gcc dot gnu dot org 2006-12-10 19:17 -------
(In reply to comment #3)
> Bogus message only appears for C++, not C.
>
Not anymore. I get the warning for C with gcc (GCC) 4.1.2 20060928 (prerelease)
(Ubuntu 4.1.1-13ubuntu5) using -Wsign-compare (which is included in -Wextra).
Is this really a bug?
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu dot org
Last reconfirmed|2005-12-11 23:05:14 |2006-12-10 19:17:48
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8715