http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42356
Manuel López-Ibáñez changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42356
Paolo Carlini changed:
What|Removed |Added
CC|gcc-bugs at gcc dot gnu.org |
--- Comment #6 from Paolo Carlini 2011-
--- Comment #5 from igodard at pacbell dot net 2009-12-14 14:58 ---
There's no question that there was an error here. The report is on the
diagnostic. I'm sorry if I hadn't made that clear.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42356
--- Comment #4 from paolo dot carlini at oracle dot com 2009-12-14 09:27
---
Likewise VC++ v8
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42356
--- Comment #3 from paolo dot carlini at oracle dot com 2009-12-14 08:44
---
I do not have the time to get into the language details, but I think you should
investigate the conformance of the code a bit more: recent SunStudio and Comeau
also agree with ICC and GCC on this.
--
http:
--- Comment #2 from igodard at pacbell dot net 2009-12-14 04:51 ---
Well, I see several issues with the diagnostics.
1) The call is not ambiguous, because if it were (only) ambiguous then removing
the base "baz" would disambiguate. Instead the case without "baz" gets you:
s3:~/ootbc
--- Comment #1 from paolo dot carlini at oracle dot com 2009-12-12 09:47
---
The basic error, at line 17, is definitely correct, and, for example, ICC
errors out exactly in the same way. I suppose you would like to see a nicer, in
some sense, list of candidates? (by the way, mailine is