[Bug c++/69818] feature request: generate a warning for C++ functional cast expression on pointer or reference
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Feb 14 23:19:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69818
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Chris Studholme from comment #0)
> Hopefully this pattern is not common with typedefs like this, but I have
> encountered bugs in generic code where the typedefs are instead template
> parameters bound to a pointer or reference type.
Can you show such an example? The one with the typedefs isn't very convincing
that a new warning is needed.
More information about the Gcc-bugs
mailing list