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++/8715] '~' operator for unsigned char and conversion to bool



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


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