[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: Unable to compile Koffice 1.1.1 for KDE3 on Debian
From:       Nicolas Goutte <nicog () snafu ! de>
Date:       2002-05-05 20:49:42
[Download RAW message or body]

It is propably an error in the source. Using ?: must be done on the same type.

So if you have something like:
  nameElem.setAttribute( "value", isTitle ? titleStyleName : "Standard" );
transform it to:
  nameElem.setAttribute( "value", isTitle ? titleStyleName :
     QString("Standard"));

I do not know if it this line in KOfffice 1.1.x for KDE3 which is wrong. 
However it is the general idea to go.

Have a nice day/evening/night!

On Sunday 05 May 2002 12:38, Josep Febrer Salord wrote:
> I have KDE3 on Debian Sid with the Debian packages and I can compile most
> of the kde3 applications but I couldn't with Koffice 1.1.1 for KDE3.. My
> compiler is GCC 2.95.4. And also I have all the kde3-devel packages. This
> is the error:
>
> VE_CONFIG_H -I. -I. -I../../.. -I. -I../../../lib/kofficeui
> -I../../../lib/kofficeui -I../../../lib/kofficecore
> -I../../../lib/kofficecore -I../../../lib/store -I../../../lib/store
> -I../../../lib/kwmf -I../../../lib/kwmf -I/usr/include/kde
> -I/usr/include/qt -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT
> -O3 -march=i486 -mcpu=i586 -ffast-math -finline-functions -g -Wall -c
> libkprkword_la.all_cc.cc  -fPIC -DPIC -o .libs/libkprkword_la.all_cc.o
> In file included from libkprkword_la.all_cc.cc:2:
> kprkword.cc: In method `void KprKword::convert()':
> kprkword.cc:286: ambiguous overload for `bool & ? QString & : const
> char[9]' kprkword.cc:286: candidates are: operator ?:(bool, QString,
> QString) <builtin> kprkword.cc:286:                 operator ?:(bool, const
> char *, const char *) <builtin>
> make[5]: *** [libkprkword_la.all_cc.lo] Error 1
> make[5]: Leaving directory
> `/usr/local/koffice-1.1.1/filters/kpresenter/kword' make[4]: ***
> [all-recursive] Error 1
> make[4]: Leaving directory `/usr/local/koffice-1.1.1/filters/kpresenter'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/local/koffice-1.1.1/filters'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/koffice-1.1.1'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory `/usr/local/koffice-1.1.1'
> make: *** [build-stamp] Error 2
>
> Any help would be sincerelly appreciated.
>
> Josep.
>
> If you can cc me on the response I'd appreciate it, since I'm
> only reading the list via the web archives.
> ____________________________________
> koffice mailing list
> koffice@mail.kde.org
> To unsubscribe please visit:
> http://mail.kde.org/mailman/listinfo/koffice

____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
http://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic