This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33409] Overload Resolution Succeeds When Actually Ambiguous.
- From: "martinezfive at comcast dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Sep 2007 13:59:20 -0000
- Subject: [Bug c++/33409] Overload Resolution Succeeds When Actually Ambiguous.
- References: <bug-33409-15091@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from martinezfive at comcast dot net 2007-09-24 13:59 -------
I spoke with the people at EDG and they have confirmed their compiler's
acceptance of the code indeed constitutes a bug. Since almost every last EDG
developer is also a member of the ISO C++ Core Committee (and vice versa), I
feel pretty sure EDG, ICC, and GCC are wrong.
Remember, compilation does not guarantee code is correct; it only guarantees
something happened.
So, if you can find the point in the Standard which makes the sample code well
formed, I'd love to know about it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33409