This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55671] -Wconversion fails to warn for sign-conversion
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 13 Dec 2012 11:25:37 +0000
- Subject: [Bug c++/55671] -Wconversion fails to warn for sign-conversion
- Auto-submitted: auto-generated
- References: <bug-55671-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55671
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-12-13 11:25:37 UTC ---
It gives it as an example then says "Warnings about conversions between signed
and unsigned integers are disabled by default in C++ unless -Wsign-conversion
is explicitly enabled."
You only have to read the next paragraph.