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

List:       kde-devel
Subject:    Imagegallery compilation bug in KDE_3_0_BRANCH
From:       Joseph Manojlovich <josephm () mail ! sis ! pitt ! edu>
Date:       2002-06-16 15:12:14
[Download RAW message or body]

The recent change made to
kdeaddons/konq-plugins/kimgalleryplugin/imgalleryplugin.cpp has a
slight bug that prevents compilation, at least in the KDE_3_0_BRANCH of
the KDE cvs code.

Line 247, a return statement was added, but returned no value, when it
should have been a boolean. I set it to return false, and the code
compiled and worked fine. Here's the make error output:

Making all in kimgalleryplugin
make[3]: Entering directory `/home/src/KDE_3_0_BRANCH/kdeaddons/konq-plugins/kim
galleryplugin'
/bin/sh ../../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../
.. -I/home/kde3/include -I/home/src/KDE_3_0_BRANCH/qt-copy/include -I/usr/X11R6/
include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -O2 -fno-exceptions -fno-check-new
-DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST  -c imgalleryplugin.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/home/kde3/include -I/home/src/KDE_3_0_BRA
NCH/qt-copy/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -f
no-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_C
AST -Wp,-MD,.deps/imgalleryplugin.pp -c imgalleryplugin.cpp  -fPIC -DPIC -o .lib
s/imgalleryplugin.o
imgalleryplugin.cpp: In method `bool KImGalleryPlugin::createHtml
(const KURL &, const QString &, int)':
imgalleryplugin.cpp:247: return-statement with no value, in function
declared with a non-void return type
make[3]: *** [imgalleryplugin.lo] Error 1
make[3]: Leaving directory `/home/src/KDE_3_0_BRANCH/kdeaddons/konq-plugins/kimg
alleryplugin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/src/KDE_3_0_BRANCH/kdeaddons/konq-plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/src/KDE_3_0_BRANCH/kdeaddons'
make: *** [all-recursive-am] Error 2

Thanks!

--
Joe Manojlovich
josephm@sis.pitt.edu
http://www2.sis.pitt.edu/~josephm
"We're not investing in dreams anymore." 
  -- Microsoft General Manager Alan Yates



 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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