Hi Liste, beim kooBase-0.92-Compilieren bricht make mit vielen Fehlermeldungen ab. Ich habe qt-1.42 und KDE 1.1 (beides selbst compiliert) installiert. Hat jemand eine Idee ? Danke, Martin ------------------------------------------------------ [...] g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include -I/usr/lib/qt/include -I/usr/X11R6/include -O2 -Wall -c main.cpp In file included from main.cpp:5: score.h:150: warning: return-type of `startCF' defaults to `int' score.h:151: warning: return-type of `lengthCF' defaults to `int' score.h:152: warning: return-type of `freqCF' defaults to `int' score.h:153: warning: return-type of `velCF' defaults to `int' score.h:154: warning: return-type of `startEnter' defaults to `int' score.h:155: warning: return-type of `lengthEnter' defaults to `int' score.h:156: warning: return-type of `freqEnter' defaults to `int' score.h:157: warning: return-type of `velEnter' defaults to `int' In file included from main.cpp:30: sb.c:18: warning: ANSI C++ forbids declaration `seq_opened' with no type sb.c:19: warning: ANSI C++ forbids declaration `seq_bank' with no type sb.c:20: warning: ANSI C++ forbids declaration `seq_preset' with no type sb.c:21: warning: ANSI C++ forbids declaration `seq_bend' with no type sb.c: In function `int seq_init()': sb.c:27: warning: control reaches end of non-void function `seq_init()' main.h: In method `MyMainWindow::MyMainWindow(const char *)': main.h:78: warning: member initializers for `int MyMainWindow::time2' main.h:88: warning: and `int MyMainWindow::snap' main.cpp:113: warning: will be re-ordered to match declaration order main.h:88: warning: member initializers for `int MyMainWindow::snap' main.h:97: warning: and `int MyMainWindow::tempo' main.cpp:113: warning: will be re-ordered to match declaration order main.h:118: warning: member initializers for `int MyMainWindow::pp' main.h:131: warning: and `bool MyMainWindow::playWait' main.cpp:113: warning: will be re-ordered to match declaration order main.h:132: warning: member initializers for `int MyMainWindow::partShow' main.h:141: warning: and `bool MyMainWindow::beepFlag' main.cpp:113: warning: will be re-ordered to match declaration order main.h:141: warning: member initializers for `bool MyMainWindow::beepFlag' main.h:144: warning: and `int MyMainWindow::preBeats' main.cpp:113: warning: will be re-ordered to match declaration order main.h:144: warning: member initializers for `int MyMainWindow::preBeats' main.h:145: warning: and `int MyMainWindow::clickInst' main.cpp:113: warning: will be re-ordered to match declaration order main.cpp:120: warning: unused variable `pid_t pid' main.cpp: In method `void MyMainWindow::makeTicksBeatBar(int)': main.cpp:318: warning: assignment to `int' from `double' main.cpp: In method `void MyMainWindow::makePos(int, int, int)': main.cpp:337: warning: assignment to `int' from `double' main.h: In method `Part::Part(int, int, int, class QWidget * = 0, const char * = 0)': main.h:233: warning: member initializers for `class MyMainWindow * Part::mw' main.h:234: warning: and `class PartCanvas * Part::pcanvas' main.cpp:387: warning: will be re-ordered to match declaration order main.h:244: warning: member initializers for `class ScoreWindow * Part::openScore' main.h:291: warning: and `int Part::clef' main.cpp:387: warning: will be re-ordered to match declaration order main.cpp:390: warning: initialization to `int' from `double' main.cpp:391: warning: initialization to `int' from `double' main.cpp: In method `void Part::paintEvent(class QPaintEvent *)': main.cpp:456: warning: initialization to `int' from `double' main.cpp: In method `void Part::mouseMoveEvent(class QMouseEvent *)': main.cpp:537: warning: initialization to `int' from `double' main.cpp: In method `bool Part::right()': main.cpp:748: warning: control reaches end of non-void function `Part::right()' main.cpp: In method `bool Part::left()': main.cpp:766: warning: control reaches end of non-void function `Part::left()' main.cpp: In method `void TimeBar::paintEvent(class QPaintEvent *)': main.cpp:886: warning: assignment to `int' from `double' main.cpp:887: warning: assignment to `int' from `double' main.h: In method `TogBut::TogBut(class QPixmap *, class QPixmap *, class QWidget * = 0, const char * = 0)': main.h:372: warning: member initializers for `class Track * TogBut::tr' main.h:377: warning: and `class QPixmap * TogBut::icon' main.cpp:908: warning: will be re-ordered to match declaration order main.h: In method `Track::Track(int, class MainCanvas *, class QWidget * = 0, const char * = 0)': main.h:419: warning: member initializers for `int Track::program' main.h:420: warning: and `int Track::channel' main.cpp:1009: warning: will be re-ordered to match declaration order main.h: In method `PartCanvas::PartCanvas(int, class MainCanvas * = 0, class QWidget * = 0)': main.h:452: warning: member initializers for `class MyMainWindow * PartCanvas::mw' main.h:453: warning: and `class MainCanvas * PartCanvas::mcanvas' main.cpp:1182: warning: will be re-ordered to match declaration order main.h:463: warning: member initializers for `int PartCanvas::numOfBars' main.h:464: warning: and `int PartCanvas::leftBar' main.cpp:1182: warning: will be re-ordered to match declaration order main.cpp: In method `void PartCanvas::paintEvent(class QPaintEvent *)': main.cpp:1352: warning: assignment to `int' from `double' main.cpp:1353: warning: assignment to `int' from `double' main.cpp: In method `void PartCanvas::mouseDoubleClickEvent(class QMouseEvent *)': main.cpp:1395: warning: assignment to `int' from `double' main.cpp:1396: warning: assignment to `int' from `double' main.cpp:1398: warning: unused variable `int right' main.cpp:1397: warning: unused variable `int left' main.cpp: In method `void MainCanvas::resizeEvent(class QResizeEvent *)': main.cpp:1455: warning: unused variable `int canvasMarginLeft' main.h: In method `MainCanvas::MainCanvas(class QWidget * = 0, const char * = 0)': main.h:509: warning: member initializers for `int MainCanvas::numOfTracks' main.h:521: warning: and `int MainCanvas::heightOfTrack' main.cpp:1470: warning: will be re-ordered to match declaration order main.cpp: In method `void Part::adjustPartSize()': main.cpp:1579: warning: assignment to `int' from `double' main.cpp: In method `void MyMainWindow::play(int = -1, int = 0, int = 0)': main.cpp:1708: warning: assignment to `int' from `double' main.cpp:1719: warning: assignment to `int' from `double' main.cpp:1720: warning: assignment to `int' from `double' main.cpp:1750: `errno' undeclared (first use this function) main.cpp:1750: (Each undeclared identifier is reported only once main.cpp:1750: for each function it appears in.) main.cpp:1750: warning: `return' with a value, in function returning void main.cpp:1751: confused by earlier errors, bailing out make[2]: *** [main.o] Error 1 make[2]: Leaving directory `/home/martin/kooBase-0.92/kooBase' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/martin/kooBase-0.92' make: *** [all-recursive-am] Error 2 -- Um aus der Liste ausgetragen zu werden, eine Mail an majordomo@suse.com schicken, mit dem Text: unsubscribe suse-linux
participants (1)
-
martin.haller@gmx.net