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

List:       kde-devel
Subject:    Re: bug kdelibs
From:       Espen Sand <espensa () online ! no>
Date:       1999-09-25 7:54:24
[Download RAW message or body]

Sorry, my fault.  It compiled at my machine before I added the code.
It has been rectified in the cvs code. So either download the new version of
kdeui or simply change your code to

int KDialog::mMarginSize = 6;
int KDialog::mSpacingSize = 6;
 

On Sat, 25 Sep 1999, Kaoru Fukui wrote:
> I got kdelibs-19990924.tar.bz2 from ftp.kde.org
> 
> Here was the error then i show kdialog.cpp.
> I found the bug in kdialog.cpp 
> Never set parameters out of constructer or out of function  like Clanguage.
> 
> Plaese fix.
> 
> Kaoru
> 
> 
> /usr/bin/moc ./kdialog.h -o kdialog.moc
> /bin/sh ../libtool --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -
> I..
> /kdecore -I../kdeui -I/usr/include/qt -I/usr/X11R6/include -I/usr/include  -
> DQT2
> _WORKAROUND   -O2 -fsigned-char -DNO_DEBUG -c kdialog.cpp
> kdialog.cpp:24: ANSI C++ forbids declaration `mMarginSize' with no type
> kdialog.cpp:25: ANSI C++ forbids declaration `mSpacingSize' with no type
> make[2]: *** [kdialog.lo] Error 1
> make[2]: Leaving directory `/usr/src/redhat/BUILD/kdelibs/kdeui'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/redhat/BUILD/kdelibs'
> make: *** [all-recursive-am] Error 2
> Bad exit status from /var/tmp/rpm-tmp.91682 (%build)
> [root@localhost SPECS]# 
> 
> ---- kdelibs/kdeui/kdialog.cpp -----
>     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
>     Boston, MA 02111-1307, USA.
> */  
> 
> #include <kapp.h>
> #include <kdialog.h>
> 
> KDialog::mMarginSize = 6;
> KDialog::mSpacingSize = 6;
> 
> 
> 
> KDialog::KDialog(QWidget *parent, const char *name, bool modal, WFlags f)
>   : QDialog(parent, name, modal, f)
> {
>   //debug("KDialog creation");
-- 
Espen Sand

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

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