[Bug c++/14710] Warning about useless casts
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Wed Mar 14 10:42:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14710
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |paolo.carlini at oracle dot
| |com
--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-03-14 10:36:10 UTC ---
Jason, what do you think about this very old request? Implementing the warning
itself should be pretty trivial (and we could have outside -Wall and -Wextra,
thus should bother no one), but I'm not sure we really want it. Then I'm not
sure where we want to draw the line, eg, in the provided snippet I'm not 100%
sure about the base class case.
More information about the Gcc-bugs
mailing list