current CVS does not compile with KDE frontend due to the difference in
Dialogs class definition for KDE and Xforms frontends. Namely, Dialogs
class constructor expects LyXView* as its argument in Xforms frontend
(src/frontends/Dialogs.h src/frontends/xforms/Dialogs.C) and LyXFunc* as
an argument in KDE frontend (src/frontends/kde/Dialogs.C).

Error message:

----------------
# ./configure --with-frontend=kde
...
# make 
...
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../src/
-I../../../src/frontends/ -I../../.. -I../../.. -I/usr/lib/qt-1.44/include
-I/usr/include/kde -I/usr/X11R6/include -g -O -fno-rtti -fno-exceptions
-ansi -W -Wall -Wno-return-type -Wp,-MD,.deps/Dialogs.pp -c Dialogs.C -o
Dialogs.o
Dialogs.C:13: prototype for `Dialogs::Dialogs(class LyXFunc *)' does not
match any in class `Dialogs'
../../../src/frontends/Dialogs.h:119: candidates are:
                                       Dialogs::Dialogs(class Dialogs &)
../../../src/frontends/Dialogs.h:117:  Dialogs::Dialogs()
../../../src/frontends/Dialogs.h:55:   Dialogs::Dialogs(class LyXView *)
----------------

Regards,

Marko


Reply via email to