[RkWard-devel] Compile failed
Stephan Matthiesen
Stephan.Matthiesen at ed.ac.uk
Tue Aug 23 12:18:10 UTC 2005
Hello,
Am Montag, 22. August 2005 12:26 schrieb Thomas Friedrichsmeier:
> > I can't compile Rkward any more. Possibly something broke with the update
> > to Fedora 4 (gcc 4.0.1), because it did work earlier.
>
> sorry it took me so very long to reply!
No problem, I was away too. Thanks for your help!
> Yes, I guess it's probably related
> to gcc 4.0.1. I'm not using gcc 4, yet, so could you try the following
> change and see, whether it fixes the problem?
>
> > ../core/../rbackend/rcommandreceiver.h:36: error: ‘RCommand’ has not been
> > declared
>
> In file rkward/rbackend/rcommandreceiver.h insert the following line right
> above "class RCommandReceiver {" (as new line 27):
>
> class RCommand;
>
> This should probably do the trick. Thanks for your patience!
Yes, that works now, compiles and installs fine. Thanks a lot!
I do get a couple of warnings though, which you might be interested in:
(...)
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde
-I/usr/lib/qt-3.3/include -I/usr/X11R6/include -I/usr/lib/R/include/
-DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef
-Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2
-Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new
-fno-common -c -o twintable.o `test -f 'twintable.cpp' || echo
'./'`twintable.cpp
/usr/lib/qt-3.3/include/qtooltip.h:86: warning: 'class QToolTip' has virtual
functions but non-virtual destructor
twintable.cpp: In member function 'void TwinTable::pasteEncoded(QByteArray)':
twintable.cpp:387: warning: comparison between signed and unsigned integer
expressions
twintable.cpp:395: warning: comparison between signed and unsigned integer
expressions
source='twintablemember.cpp' object='twintablemember.o' libtool=no \
depfile='.deps/twintablemember.Po' tmpdepfile='.deps/twintablemember.TPo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
(...)
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde
-I/usr/lib/qt-3.3/include -I/usr/X11R6/include -I/usr/lib/R/include/
-DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef
-Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2
-Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new
-fno-common -c -o rksettingsmoduler.o `test -f 'rksettingsmoduler.cpp' ||
echo './'`rksettingsmoduler.cpp
/usr/lib/qt-3.3/include/private/qucom_p.h:69: warning: 'struct QUBuffer' has
virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:77: warning: 'struct QUType' has
virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:104: warning: 'struct QUType_Null'
has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:287: warning: 'struct QUType_enum'
has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:307: warning: 'struct QUType_ptr'
has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:326: warning: 'struct QUType_iface'
has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:345: warning: 'struct QUType_idisp'
has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:364: warning: 'struct QUType_bool'
has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:383: warning: 'struct QUType_int'
has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:403: warning: 'struct QUType_double'
has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:423: warning: 'struct
QUType_charstar' has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucom_p.h:444: warning: 'struct
QUType_QString' has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucomextra_p.h:65: warning: 'struct
QUType_QVariant' has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/include/private/qucomextra_p.h:87: warning: 'struct
QUType_varptr' has virtual functions but non-virtual destructor
/usr/lib/qt-3.3/bin/moc ./rksettingsmodulewatch.h -o rksettingsmodulewatch.moc
source='rksettingsmodulewatch.cpp' object='rksettingsmodulewatch.o' libtool=no
\
depfile='.deps/rksettingsmodulewatch.Po'
tmpdepfile='.deps/rksettingsmodulewatch.TPo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
(...)
The warnings about 'struct QUType_xxxxx' are repeated several times, the same
set of warnings for every source file.
Hope this helps.
Thanks for your good work!
Stephan
More information about the Rkward-devel
mailing list