This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11765] typecast vs. constructor ambiguity
- From: "dhazeghi at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Aug 2003 17:18:58 -0000
- Subject: [Bug c++/11765] typecast vs. constructor ambiguity
- References: <20030801174818.11765.hovik@melikyan.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11765
dhazeghi at yahoo dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet|i386-portbld-freebsd5.1 |
GCC host triplet|i386-portbld-freebsd5.1 |
GCC target triplet|i386-portbld-freebsd5.1 |
Last reconfirmed|2003-08-23 15:28:46 |2003-08-24 17:18:58
date| |
------- Additional Comments From dhazeghi at yahoo dot com 2003-08-24 17:18 -------
Mainline (20030817) still gives:
foo.cc:13: error: call of overloaded `X(Y&)' is ambiguous
foo.cc:2: note: candidates are: X::X(const X&)
foo.cc:3: note: X::X(int)
Has it been determined whether the code is valid or not?