[Bug c++/14710] Warning about useless casts
- To: debian-gcc@lists.debian.org
- Subject: [Bug c++/14710] Warning about useless casts
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
- Date: Wed, 14 Mar 2012 10:36:10 +0000
- Message-id: <bug-14710-5724-Gr04sKmBYr@http.gcc.gnu.org/bugzilla/>
- In-reply-to: <bug-14710-5724@http.gcc.gnu.org/bugzilla/>
- References: <bug-14710-5724@http.gcc.gnu.org/bugzilla/>
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.
--
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug.
Reply to: