This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/8316] Confusing diagnostic for code that misuses conversion operators
- From: "ext dot zxmultran021 at astrium dot eads dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Sep 2004 16:15:29 -0000
- Subject: [Bug c++/8316] Confusing diagnostic for code that misuses conversion operators
- References: <20021022213600.8316.austern@apple.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ext dot zxmultran021 at astrium dot eads dot net 2004-09-21 16:15 -------
Hello,
I use g++ 3.3.3 to compile my application, and I encountered a problem :
src/OpePreparator.cc:2075: error: ISO C++ says that `int
Ptr<T>::operator!=(const T*) const [with T = C_OPL::Header_att]' and `
operator!=' are ambiguous even though the worst conversion for the former is
better than the worst conversion for the latter
It seems that this kind of problem is known in the GCC database as the 13089
bug (duplicate of 8316)
Can you confirm me in which release this bug is fixed ?
Thank you a lot
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8316