compile error for 20000127 snapshot

christopher j bottaro cjb at cs.utexas.edu
Fri Jan 26 11:13:47 GMT 2001


yeah, i got that also.  its a simple matter of removing the default 
parameters from the method signature in bugedit.cpp.  after that it compiles 
fine.  i suspect the author copy/pasted the method signature from the .h file 
and forgot to remove the default arguments, no biggie.  i'm accually really 
new to linux and kde programming so i might be wrong.

after i got the snapshot to compile, kdevelop was really unstable, it crashed 
so much that i installed qt-1.45 and kde-1.1.2 and just installed 
kdevelop-1.3.  anyone else having problems with kdevelop snapshots for kde2?  
i'm using the jan 24th snapshot of kde2.1beta2 on redhat 6.2. and the jan 
25th snapshot of kdevelop.

thanks for the help,
christopher

On Saturday 27 January 2001 04:36, you wrote:
> I get the following error trying to compile in RedHat 6.2 Alpha:
>
> make[4]: Entering directory
> `/usr/local/src/kdevelop/kdevelop/parts/buglist' /bin/sh ../../../libtool
> --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../..
> -I../../../kdevelop/lib/general -I../../../kdevelop/lib/projectmanagement
> -I/usr/include/kde -I/usr/lib/qt-2.2.2/include -I/usr/X11R6/include     -O2
> -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith
> -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor
> -fno-builtin  -c bugedit.cpp g++ -DHAVE_CONFIG_H -I. -I. -I../../..
> -I../../../kdevelop/lib/general -I../../../kdevelop/lib/projectmanagement
> -I/usr/include/kde -I/usr/lib/qt-2.2.2/include -I/usr/X11R6/include -O2
> -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith
> -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor
> -fno-builtin -Wp,-MD,.deps/bugedit.pp -c bugedit.cpp  -fPIC -DPIC -o
> .libs/bugedit.o
> bugedit.cpp:111: warning: default argument given for parameter 1 of
> `BugEdit::BugEdit(class QWidget * = 0, const char * = 0, class Bug * = 0,
> bool = true, bool = false, uint = 0)'
> bugedit.h:45: warning: after previous specification in
> `BugEdit::BugEdit(class QWidget * = 0, const char * = 0, class Bug * = 0,
> bool = TRUE, bool = FALSE, uint = 0)' bugedit.cpp:111: warning: default
> argument given for parameter 2 of `BugEdit::BugEdit(class QWidget * = 0,
> const char * = 0, class Bug * = 0, bool = true, bool = false, uint = 0)'
> bugedit.h:45: warning: after previous specification in
> `BugEdit::BugEdit(class QWidget * = 0, const char * = 0, class Bug * = 0,
> bool = TRUE, bool = FALSE, uint = 0)' bugedit.cpp:111: warning: default
> argument given for parameter 3 of `BugEdit::BugEdit(class QWidget * = 0,
> const char * = 0, class Bug * = 0, bool = true, bool = false, uint = 0)'
> bugedit.h:45: warning: after previous specification in
> `BugEdit::BugEdit(class QWidget * = 0, const char * = 0, class Bug * = 0,
> bool = TRUE, bool = FALSE, uint = 0)' bugedit.cpp:111: default argument
> given for parameter 4 of `BugEdit::BugEdit(class QWidget * = 0, const char
> * = 0, class Bug * = 0, bool = true, bool = false, uint = 0)' bugedit.h:45:
> after previous specification in `BugEdit::BugEdit(class QWidget * = 0,
> const char * = 0, class Bug * = 0, bool = TRUE, bool = FALSE, uint = 0)'
> bugedit.cpp:111: default argument given for parameter 5 of
> `BugEdit::BugEdit(class QWidget * = 0, const char * = 0, class Bug * = 0,
> bool = true, bool = false, uint = 0)' bugedit.h:45: after previous
> specification in `BugEdit::BugEdit(class QWidget * = 0, const char * = 0,
> class Bug * = 0, bool = TRUE, bool = FALSE, uint = 0)'
> bugedit.cpp:111: warning: default argument given for parameter 6 of
> `BugEdit::BugEdit(class QWidget * = 0, const char * = 0, class Bug * = 0,
> bool = true, bool = false, uint = 0)'
> bugedit.h:45: warning: after previous specification in
> `BugEdit::BugEdit(class QWidget * = 0, const char * = 0, class Bug * = 0,
> bool = TRUE, bool = FALSE, uint = 0)' make[4]: *** [bugedit.lo] Error 1
> make[4]: Leaving directory `/usr/local/src/kdevelop/kdevelop/parts/buglist'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/local/src/kdevelop/kdevelop/parts'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/kdevelop/kdevelop'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/kdevelop'
> make: *** [all-recursive-am] Error 2

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list