[Bug c++/44521] unhelpful candidates for ambiguous lookup
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Aug 21 02:12:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44521
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-08-21
Ever confirmed|0 |1
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Manuel López-Ibáñez from comment #1)
> Jason, do we want this?
>
> Following Clang or in some other way?
Yes, the Clang diagnostic is better.
There are two issues with the G++ diagnostic:
1) It talks about f(double), which is not viable.
2) It doesn't distinguish between two occurrences of the same function reached
through different base paths.
More information about the Gcc-bugs
mailing list