https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97710

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
           Keywords|                            |diagnostic
           Severity|normal                      |enhancement
            Summary|Help with breaking change?  |diagnostic for invalid
                   |cast pointer-to-member      |pointer-to-member (not
                   |address in template         |function) as template
                   |parameter list              |argument with base to
                   |                            |derived should be improved

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note EDG, GCC and clang all agree this is invalid C++98 - C++14. GCC rejects it
(when corrected the types to be all char) for C++17+ though (that is recorded
as PR 114620). I am not going to mark this as a dup of bug 114620 (because I
recorded that) but instead going to mark this as the diagnostic needing to be
improved.

Reply via email to