This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13089] bug using operator[] for a template class & ISO C++ standard
- 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:14:44 -0000
- Subject: [Bug c++/13089] bug using operator[] for a template class & ISO C++ standard
- References: <20031117183741.13089.olivier.despouys@rte-france.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:14 -------
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=13089