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++/66130] "invalid use of non-static member function" message could be clearer


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

--- Comment #5 from Tom Tromey <tromey at gcc dot gnu.org> ---
(In reply to Manuel LÃpez-IbÃÃez from comment #4)

> For this testcase, my patch gives:
> 
> test.cc:8:34: error: invalid use of non-static member function âvoid X::m()â

That seems great to me.

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