This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51625] -Wconversion should be on by default, or at least included in -Wall
- From: "pnf at podsnap dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 30 Apr 2012 09:11:17 +0000
- Subject: [Bug c++/51625] -Wconversion should be on by default, or at least included in -Wall
- Auto-submitted: auto-generated
- References: <bug-51625-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51625
Peter Fraenkel <pnf at podsnap dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #6 from Peter Fraenkel <pnf at podsnap dot com> 2012-04-30 09:11:17 UTC ---
I, personally, would want to be warned on any implicit down-conversion between
native types. In cases where "down" is ambiguous (ie. with non-native classes),
the warning should be specially requested, as it could be generally annoying.
I would actually argue that xxx(int)/fxxx(double) is such a minefield that it
deserves special case warnings.