C++ PATCH for c++/52597 (misleading diagnostic for wrong use of member function)

Jason Merrill jason@redhat.com
Wed Mar 27 02:57:00 GMT 2013

When we see a use of a non-overloaded non-static member function, we 
give the resulting expression unknown type so that invalid uses get 
errors.  But the "can't resolve overloading" error is wrong in this 
case, so we should give the right one.

Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 52597.patch
Type: text/x-patch
Size: 5531 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130327/39c9f438/attachment.bin>

More information about the Gcc-patches mailing list