This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Another strange compiler error that worked in 2.95.2 but not 3.0.4
- From: "Dave Williss" <dwilliss at microimages dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Tue, 14 May 2002 17:38:21 -0500
- Subject: Another strange compiler error that worked in 2.95.2 but not 3.0.4
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.
-- Dave Williss
------
Meddle not in the affairs of dragons,
for you are crunchy and taste good with catsup