public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/66130] New: "invalid use of non-static member function" message could be clearer
@ 2015-05-12 16:57 tromey at gcc dot gnu.org
  2015-05-12 20:52 ` [Bug c++/66130] " manu at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: tromey at gcc dot gnu.org @ 2015-05-12 16:57 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 66130
           Summary: "invalid use of non-static member function" message
                    could be clearer
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tromey at gcc dot gnu.org
  Target Milestone: ---

Today g++ gave me "invalid use of non-static member function".
However, from the context it was unclear exactly which thing
on the line was the invalid use.  (Mostly due to bug 61940 giving
an imprecise location).

I think this warning would be more useful if it mentioned the name
of the member function in question.  In my case this would have
made the problem immediately clear.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-06-03 19:23 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-12 16:57 [Bug c++/66130] New: "invalid use of non-static member function" message could be clearer tromey at gcc dot gnu.org
2015-05-12 20:52 ` [Bug c++/66130] " manu at gcc dot gnu.org
2015-05-13 13:27 ` manu at gcc dot gnu.org
2015-05-13 16:33 ` tromey at gcc dot gnu.org
2015-05-13 17:28 ` manu at gcc dot gnu.org
2015-05-14 12:49 ` tromey at gcc dot gnu.org
2015-05-14 16:10 ` manu at gcc dot gnu.org
2015-05-15  9:28 ` paolo.carlini at oracle dot com
2015-05-15 12:25 ` manu at gcc dot gnu.org
2015-05-15 15:16 ` paolo.carlini at oracle dot com
2015-05-15 17:37 ` paolo.carlini at oracle dot com
2015-06-03 19:23 ` paolo at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).