https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66130
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC|paolo.carlini at oracle dot com | Assignee|unassigned at gcc dot gnu.org |paolo.carlini at oracle dot com --- Comment #11 from Paolo Carlini <paolo.carlini at oracle dot com> --- Agreed, thanks Manuel. I can handle this, send the complete patch to the mailing list for review. I think that in the second case it would be more correct to tweak the error message a bit, and actually say "invalid use of non-static member function of type %qT", instead of just "... function %qT".