public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/89883] Excessive candidates for ambiguous overload in error message
[not found] <bug-89883-4@http.gcc.gnu.org/bugzilla/>
@ 2022-03-26 21:00 ` redi at gcc dot gnu.org
0 siblings, 0 replies; only message in thread
From: redi at gcc dot gnu.org @ 2022-03-26 21:00 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89883
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2022-03-26
Status|UNCONFIRMED |NEW
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Clang just says:
am.C:13:6: error: use of overloaded operator '<<' is ambiguous (with operand
types 'std::ostream' (aka 'basic_ostream<char>') and 'Foo')
os << Bar;
~~ ^ ~~~
am.C:8:14: note: candidate function
std::ostream operator<<( std::ostream& os, Foo );
^
am.C:9:14: note: candidate function
std::ostream operator<<( std::ostream& os, Foo const& );
^
1 error generated.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-26 21:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-89883-4@http.gcc.gnu.org/bugzilla/>
2022-03-26 21:00 ` [Bug c++/89883] Excessive candidates for ambiguous overload in error message redi 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).