[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: KDE/kdelibs/khtml
From: ralf.habacker () freenet ! de
Date: 2005-05-17 21:47:32
Message-ID: 200505172348.08559.ralf.habacker () freenet ! de
[Download RAW message or body]
Am Dienstag, 17. Mai 2005 21:49 schrieben Sie:
> On Tuesday 17 May 2005 20:06, Ralf Habacker wrote:
> > added casts, without compiling under cygwin fails
> > - ch = str[ offset ];
> > + ch = str[ (int)offset ];
>
> whats the error message? casting something that is used as an offset to a
> signed integer is not very good..
/home/Habacker/src/extern/anonsvn.kde.org/kdelibs/khtml/khtml_part.cpp: In
member function `void KHTMLPart::extendSelection(DOM::NodeImpl*, long int,
DOM::Node&, long int&, bool, bool)':
/home/Habacker/src/extern/anonsvn.kde.org/kdelibs/khtml/khtml_part.cpp:6160:
error: ambiguous overload for 'operator[]' in 'str[offset]'
/c/daten/qt-3/cygwin-x11/include/qstring.h:639: error: candidates are: QChar
QString::operator[](int) const
/c/daten/qt-3/cygwin-x11/include/qstring.h:640: error: QChar
QString::operator[](unsigned int) const
/c/daten/qt-3/cygwin-x11/include/qstring.h:812: error:
QCharRef
QString::operator[](int)
/c/daten/qt-3/cygwin-x11/include/qstring.h:813: error:
QCharRef
QString::operator[](unsigned int)
Error creating ../khtml/khtml_part.lo. Exit status 1.
I'm using the cygwin port of qt 3.3.4-x11 and gcc 3.3.3
Ralf
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic