[Bug c++/8316] Confusing diagnostic for code that misuses conversion operators

ext dot zxmultran021 at astrium dot eads dot net gcc-bugzilla@gcc.gnu.org
Tue Sep 21 16:15:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list