This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]