This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/85861] g++ -Wconversion misses int to size_t
- From: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 21 May 2018 22:13:30 +0000
- Subject: [Bug c++/85861] g++ -Wconversion misses int to size_t
- Auto-submitted: auto-generated
- References: <bug-85861-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85861
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |egallager at gcc dot gnu.org
--- Comment #5 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Jonny Grant from comment #2)
> Thank you for your replies.
>
> I tested on 64bit ubuntu. But yes with -Wsign-conversion I now see the
> warnings/errors.
>
> Could it be enabled by default? to match C behaviour visible in GCC.
I think you mean by -Wconversion, not by default, right?