This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/69818] feature request: generate a warning for C++ functional cast expression on pointer or reference
- From: "cvs at cs dot utoronto.ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 15 Feb 2016 01:40:25 +0000
- Subject: [Bug c++/69818] feature request: generate a warning for C++ functional cast expression on pointer or reference
- Auto-submitted: auto-generated
- References: <bug-69818-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69818
--- Comment #3 from Chris Studholme <cvs at cs dot utoronto.ca> ---
Does the same rational for -Wold-style-cast not apply here? Another option
might be to extend -Wold-style-cast to cover these problematic uses of
functional casts, instead of adding a new warning.