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: "redi 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 19:20:20 +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
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Status|WAITING |NEW
Severity|normal |enhancement
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonny Grant from comment #2)
> Could it be enabled by default? to match C behaviour visible in GCC.
Confirming as a request for that. I have no idea what the history behind the
difference is (but it's intentional and documented).