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++/69818] feature request: generate a warning for C++ functional cast expression on pointer or reference


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.

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