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++/51625] -Wconversion should be on by default, or at least included in -Wall


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.


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