This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13979] Error message about no matching function for call with derived class arguments could be improved
- From: "jason at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Aug 2009 13:42:19 -0000
- Subject: [Bug c++/13979] Error message about no matching function for call with derived class arguments could be improved
- References: <bug-13979-7764@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from jason at redhat dot com 2009-08-05 13:42 -------
Subject: Re: Error message about no matching function for
call with derived class arguments could be improved
On 08/04/2009 06:42 PM, manu at gcc dot gnu dot org wrote:
> I don't even know if we have different codepaths for those!
We do: if there's a conversion that seems likely but invalid, we build
it up but set bad_p on it so that we can give a more helpful diagnostic
when we try to use it.
Jason
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13979