Kdepim Kalarm compile error with latest CVS

Jeff Stuart jstuart at computer-city.net
Mon Nov 18 17:52:49 GMT 2002


This is the second module that I had a compile error in.  KDE Pim
kalarm.  The configure line is this:

/usr/local/src/kde-cvs/kdepim/configure
--srcdir=/usr/local/src/kde-cvs/kdepim --enable-final

And attached is the error output:  (Note: I'm ASSUMING that other things
are using qdir.h.  Else I'd be having OTHER weird errors.  Also, this is
using QT 3.1.0 final.)


-- 
Jeff Stuart <jstuart at computer-city.net>
-------------- next part --------------
Making all in kalarm
make[2]: Entering directory `/usr/local/build/kde-cvs/kdepim/kalarm'
Making all in pixmaps
make[3]: Entering directory `/usr/local/build/kde-cvs/kdepim/kalarm/pixmaps'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/build/kde-cvs/kdepim/kalarm/pixmaps'
make[3]: Entering directory `/usr/local/build/kde-cvs/kdepim/kalarm'
source='kalarm.all_cpp.cpp' object='kalarm.all_cpp.o' libtool=no \
depfile='.deps/kalarm.all_cpp.Po' tmpdepfile='.deps/kalarm.all_cpp.TPo' \
depmode=gcc3 /bin/sh /usr/local/src/kde-cvs/kdepim/admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I/usr/local/src/kde-cvs/kdepim/kalarm -I.. -I/usr/local/src/kde-cvs/kdepim -I../libical/src -I../libkdepim -I/opt/kde3.1.0/include -I/usr/local/qt/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new  -c -o kalarm.all_cpp.o `test -f 'kalarm.all_cpp.cpp' || echo '/usr/local/src/kde-cvs/kdepim/kalarm/'`kalarm.all_cpp.cpp
In file included from kalarm.all_cpp.cpp:3:
/usr/local/src/kde-cvs/kdepim/kalarm/kalarmapp.cpp: In function `int KAlarmApp::isTextFile (const KURL 
&)':
/usr/local/src/kde-cvs/kdepim/kalarm/kalarmapp.cpp:1512: warning: passing negative value `-1' for 
argument 1 of `KFileItem::KFileItem (unsigned int, unsigned int, const KURL &, bool)'
/usr/local/src/kde-cvs/kdepim/kalarm/kalarmapp.cpp:1512: warning: passing negative value `-1' for 
argument 2 of `KFileItem::KFileItem (unsigned int, unsigned int, const KURL &, bool)'
In file included from /usr/local/src/kde-cvs/kdepim/kalarm/editdlg.cpp:42,
                 from kalarm.all_cpp.cpp:4:
/usr/local/qt/include/qdir.h: At top level:
/usr/local/qt/include/qdir.h:79: warning: comma at end of enumerator list
/usr/local/qt/include/qdir.h:79: parse error before `0'
/usr/local/qt/include/qdir.h:85: missing ';' before right brace
/usr/local/qt/include/qdir.h:87: parse error before `)'
/usr/local/qt/include/qdir.h:88: parse error before `const'
/usr/local/qt/include/qdir.h:90: parse error before `const'
/usr/local/qt/include/qdir.h:92: destructors must be member functions
/usr/local/qt/include/qdir.h:92: virtual outside class declaration
/usr/local/qt/include/qdir.h:94: syntax error before `&'
/usr/local/qt/include/qdir.h:95: syntax error before `&'
/usr/local/qt/include/qdir.h:97: virtual outside class declaration
/usr/local/qt/include/qdir.h:98: virtual outside class declaration
/usr/local/qt/include/qdir.h:98: non-member function `path ()' cannot 
have `const' method qualifier
/usr/local/qt/include/qdir.h:99: virtual outside class declaration
/usr/local/qt/include/qdir.h:99: non-member function `absPath ()' 
cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:100: virtual outside class declaration
/usr/local/qt/include/qdir.h:100: non-member function `canonicalPath 
()' cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:102: virtual outside class declaration
/usr/local/qt/include/qdir.h:102: non-member function `dirName ()' 
cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:104: virtual outside class declaration
/usr/local/qt/include/qdir.h:104: non-member function `filePath (const 
QString &, bool)' cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:106: virtual outside class declaration
/usr/local/qt/include/qdir.h:106: non-member function `absFilePath 
(const QString &, bool)' cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:110: virtual outside class declaration
/usr/local/qt/include/qdir.h:111: virtual outside class declaration
/usr/local/qt/include/qdir.h:113: non-member function `nameFilter ()' 
cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:114: virtual outside class declaration
/usr/local/qt/include/qdir.h:115: syntax error before `('
/usr/local/qt/include/qdir.h:116: virtual outside class declaration
/usr/local/qt/include/qdir.h:117: syntax error before `('
/usr/local/qt/include/qdir.h:118: virtual outside class declaration
/usr/local/qt/include/qdir.h:120: non-member function `matchAllDirs ()' 
cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:121: virtual outside class declaration
/usr/local/qt/include/qdir.h:123: non-member function `count ()' cannot 
have `const' method qualifier
/usr/local/qt/include/qdir.h:124: non-member function `operator[] 
(int)' cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:124: `operator[] (int)' must be a 
nonstatic member function
/usr/local/qt/include/qdir.h:124: `operator[] (int)' must take exactly 
two arguments
/usr/local/qt/include/qdir.h:126: `DefaultFilter' was not declared in 
this scope
/usr/local/qt/include/qdir.h:127: `DefaultSort' was not declared in 
this scope
/usr/local/qt/include/qdir.h:127: virtual outside class declaration
/usr/local/qt/include/qdir.h:127: non-member function `encodedEntryList 
(int, int)' cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:129: `DefaultFilter' was not declared in 
this scope
/usr/local/qt/include/qdir.h:130: `DefaultSort' was not declared in 
this scope
/usr/local/qt/include/qdir.h:130: virtual outside class declaration
/usr/local/qt/include/qdir.h:130: non-member function `encodedEntryList 
(const QString &, int, int)' cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:131: `DefaultFilter' was not declared in 
this scope
/usr/local/qt/include/qdir.h:132: `DefaultSort' was not declared in 
this scope
/usr/local/qt/include/qdir.h:132: virtual outside class declaration
/usr/local/qt/include/qdir.h:132: non-member function `entryList (int, 
int)' cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:134: `DefaultFilter' was not declared in 
this scope
/usr/local/qt/include/qdir.h:135: `DefaultSort' was not declared in 
this scope
/usr/local/qt/include/qdir.h:135: virtual outside class declaration
/usr/local/qt/include/qdir.h:135: non-member function `entryList (const 
QString &, int, int)' cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:137: `DefaultFilter' was not declared in 
this scope
/usr/local/qt/include/qdir.h:138: `DefaultSort' was not declared in 
this scope
/usr/local/qt/include/qdir.h:138: virtual outside class declaration
/usr/local/qt/include/qdir.h:138: non-member function `entryInfoList 
(int, int)' cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:140: `DefaultFilter' was not declared in 
this scope
/usr/local/qt/include/qdir.h:141: `DefaultSort' was not declared in 
this scope
/usr/local/qt/include/qdir.h:141: virtual outside class declaration
/usr/local/qt/include/qdir.h:141: non-member function `entryInfoList 
(const QString &, int, int)' cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:146: virtual outside class declaration
/usr/local/qt/include/qdir.h:146: non-member function `mkdir (const 
QString &, bool)' cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:148: virtual outside class declaration
/usr/local/qt/include/qdir.h:148: non-member function `rmdir (const 
QString &, bool)' cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:150: virtual outside class declaration
/usr/local/qt/include/qdir.h:150: non-member function `isReadable ()' 
cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:151: virtual outside class declaration
/usr/local/qt/include/qdir.h:151: non-member function `exists ()' 
cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:152: virtual outside class declaration
/usr/local/qt/include/qdir.h:152: non-member function `isRoot ()' 
cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:154: virtual outside class declaration
/usr/local/qt/include/qdir.h:154: non-member function `isRelative ()' 
cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:155: virtual outside class declaration
/usr/local/qt/include/qdir.h:157: parse error before `&'
/usr/local/qt/include/qdir.h:157: virtual outside class declaration
/usr/local/qt/include/qdir.h:157: non-member function `operator== 
(...)' cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:157: `operator== (...)' must have an 
argument of class or enumerated type
/usr/local/qt/include/qdir.h:157: `operator== (...)' must take exactly 
two arguments
/usr/local/qt/include/qdir.h:158: parse error before `&'
/usr/local/qt/include/qdir.h:158: virtual outside class declaration
/usr/local/qt/include/qdir.h:158: non-member function `operator!= 
(...)' cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:158: `operator!= (...)' must have an 
argument of class or enumerated type
/usr/local/qt/include/qdir.h:158: `operator!= (...)' must take exactly 
two arguments
/usr/local/qt/include/qdir.h:161: virtual outside class declaration
/usr/local/qt/include/qdir.h:163: virtual outside class declaration
/usr/local/qt/include/qdir.h:165: virtual outside class declaration
/usr/local/qt/include/qdir.h:170: syntax error before `('
/usr/local/qt/include/qdir.h:171: syntax error before `('
/usr/local/qt/include/qdir.h:172: syntax error before `('
/usr/local/qt/include/qdir.h:181: non-member function `refresh ()' 
cannot have `const' method qualifier
/usr/local/qt/include/qdir.h:183: parse error before `private'
/usr/local/qt/include/qdir.h:190: virtual outside class declaration
/usr/local/qt/include/qdir.h:198: syntax error before `;'
/usr/local/qt/include/qdir.h:199: syntax error before `;'
/usr/local/qt/include/qdir.h:200: syntax error before `:'
/usr/local/qt/include/qdir.h:201: syntax error before `:'
/usr/local/qt/include/qdir.h:206: no `QString QDir::path () const' 
member function declared in class `QDir'
/usr/local/qt/include/qdir.h:211: no `QString QDir::nameFilter () 
const' member function declared in class `QDir'
/usr/local/qt/include/qdir.h:216: no `QDir::FilterSpec QDir::filter () 
const' member function declared in class `QDir'
/usr/local/qt/include/qdir.h: In method `QDir::FilterSpec QDir::filter 
() const':
/usr/local/qt/include/qdir.h:217: `filtS' undeclared (first use this 
function)
/usr/local/qt/include/qdir.h:217: (Each undeclared identifier is 
reported only once for each function it appears in.)
/usr/local/qt/include/qdir.h: At top level:
/usr/local/qt/include/qdir.h:221: no `QDir::SortSpec QDir::sorting () 
const' member function declared in class `QDir'
/usr/local/qt/include/qdir.h: In method `QDir::SortSpec QDir::sorting 
() const':
/usr/local/qt/include/qdir.h:221: return type `enum QDir::SortSpec' is 
incomplete
/usr/local/qt/include/qdir.h:222: `sortS' undeclared (first use this 
function)
/usr/local/qt/include/qdir.h: At top level:
/usr/local/qt/include/qdir.h:226: no `bool QDir::matchAllDirs () const' 
member function declared in class `QDir'
/usr/local/qt/include/qdir.h: In method `bool QDir::matchAllDirs () 
const':
/usr/local/qt/include/qdir.h:227: `allDirs' undeclared (first use this 
function)
/usr/local/qt/include/qdir.h: At top level:
/usr/local/qt/include/qdir.h:231: no `bool QDir::operator!= (const QDir 
&) const' member function declared in class `QDir'
In file included from /opt/kde3.1.0/include/kfiledialog.h:32,
                 from /usr/local/src/kde-cvs/kdepim/kalarm/editdlg.cpp:47,
                 from kalarm.all_cpp.cpp:4:
/opt/kde3.1.0/include/kfile.h: In function `bool KFile::isSortByName 
(const QDir::SortSpec &)':
/opt/kde3.1.0/include/kfile.h:74: confused by earlier errors, bailing 
out
make[3]: *** [kalarm.all_cpp.o] Error 1
make[3]: Target `all-am' not remade because of errors.
make[3]: Leaving directory `/usr/local/build/kde-cvs/kdepim/kalarm'
make[2]: *** [all-recursive] Error 1
make[2]: Target `all' not remade because of errors.
make[2]: Leaving directory `/usr/local/build/kde-cvs/kdepim/kalarm'


More information about the kde-core-devel mailing list