Hello Dennis,
On Wed, 18 Feb 2004 15:54:16 -0500 (EST) Dennis Tenn <[EMAIL PROTECTED]> wrote: > Suddenly I can't complie the kde-gui or qt-gui (and msn) plugins. I get > the following error. > > /usr/qt/bin/moc ./ewidgets.h -o ewidgets.moc > source='ewidgets.cpp' object='ewidgets.lo' libtool=yes \ > depfile='.deps/ewidgets.Plo' tmpdepfile='.deps/ewidgets.TPlo' \ > depmode=gcc /usr/local/bin/bash ../admin/depcomp \ > /usr/local/bin/bash ../libtool --silent --silent --mode=compile --tag=CXX g++ > -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/root/CVSROOT/licq/include > -I/usr/X11R6/include -I/usr/qt/include -D_THREAD_SAFE -O2 -fno-exceptions > -fno-check-new -pthread -Wall -I/usr/qt/include -I/usr/X11R6/include -c -o > ewidgets.lo `test -f ewidgets.cpp || echo './'`ewidgets.cpp > ewidgets.cpp: In method `void CMessageViewWidget::addMsg(CUserEvent *)': > ewidgets.cpp:633: warning: comparison between signed and unsigned > ewidgets.cpp:673: ambiguous overload for `bool ? const char[1] : const QString' > ewidgets.cpp:673: candidates are: operator ?:(bool, QString, QString) <builtin> > ewidgets.cpp:673: operator ?:(bool, > basic_string<char,string_char_traits<char>,__default_alloc_template<false,0> > >,string) <builtin> > ewidgets.cpp:673: operator ?:(bool, const char *, const char *) > <builtin> > gmake[2]: *** [ewidgets.lo] Error 1 > gmake[2]: Leaving directory `/root/CVSROOT/licq/licq-plugins/qt-gui/src' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/root/CVSROOT/licq/licq-plugins/qt-gui' > gmake: *** [all] Error 2 > > Everything else compliles fine. I just upgraded QT to 3.3.0 but that was > all. Any ideas? Hm.. further look into that part of code is that the compiler error would depend on the gcc version you get and maybe from the Qt version too. Try to replace line 673 w/ the following one: .arg((e->SubCommand() == ICQ_CMDxSUB_MSG ? (QString)"" : (EventDescription(e) + " "))) Then recompile. This would be necessary to cast to QString too at line 688. Does it help? Regards, -- wwp ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Licq-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/licq-devel