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++/31423] Improve upon "invalid use of member (did you forget the '&' ?)"



------- Comment #5 from bangerth at gmail dot com  2009-08-05 17:57 -------
However, one of my gripes with the previous error message is that it's
just too obscure: where did I forget the '&', and why would I have wanted
to write them in the first place? It could have said "did you forget to
take the address of this member function?" and it would have been clearer
to me what the message is supposed to tell me.

So, in order to be a bit less obscure, how about this wording:
  6: error: invalid use of member (did you forget the argument list?)

W.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31423


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