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]

Template operator compile error in 3.0.4, not in 2.95.2


edittabg.c:7796: choosing `bool FIXEDSTRING<_T>::operator==(const UNICODE*)
   const [with long unsigned int _T = 16]' over `operator=='
edittabg.c:7796:   because worst conversion for the former is better than
worst
   conversion for the latter

Why is this an error?  I _want_ it to choose the template's == operator.

This is with g++ 3.0.4.  It worked fine in 2.95.2

 -- Dave Williss
------
Meddle not in the affairs of dragons, 
   for you are crunchy and taste good with catsup


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