From kdevelop-bugs Tue Mar 29 04:45:08 2005 From: kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de Date: Tue, 29 Mar 2005 04:45:08 +0000 To: kdevelop-bugs Subject: [Bug 102715] New: Problem compiling partmanager.h from core.cpp on Solaris Message-Id: <20050329064506.102715.aaronw () net ! com> X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=118306935706871 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=102715 Summary: Problem compiling partmanager.h from core.cpp on Solaris Product: kdevelop Version: unspecified Platform: Compiled Sources OS/Version: Solaris Status: UNCONFIRMED Severity: normal Priority: NOR Component: general AssignedTo: kdevelop-bugs kdevelop org ReportedBy: aaronw net com Version: 3.2.0 (using KDE KDE 3.4.0) Installed from: Compiled From Sources Compiler: gcc version 3.3.5 OS: SunOS (sun4u) release 5.8 if /bin/bash ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib/interfaces -I../lib/interfaces/extensions -I../lib/interfaces/external -I../lib/interfaces/extras -I../lib/util -I../lib/widgets -I../src/profileengine/lib -I../lib/qextmdi -I/opt/kde3/3.4/include -I/opt/qt/qt-3.3.3/include -I/opt/kdeshared/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O3 -mcpu=ultrasparc -g -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT api.lo -MD -MP -MF ".deps/api.Tpo" -c -o api.lo api.cpp; \ then mv -f ".deps/api.Tpo" ".deps/api.Plo"; else rm -f ".deps/api.Tpo"; exit 1;fi In file included from core.h:6, from api.cpp:1: /opt/kde3/3.4/include/kparts/partmanager.h:50: error: syntax error before `:' token /opt/kde3/3.4/include/kparts/partmanager.h:52: error: virtual outside class declaration /opt/kde3/3.4/include/kparts/partmanager.h:52: error: non-member function ` const char* className()' cannot have `const' method qualifier /opt/kde3/3.4/include/kparts/partmanager.h:52: error: virtual outside class declaration /opt/kde3/3.4/include/kparts/partmanager.h:52: error: virtual outside class declaration /opt/kde3/3.4/include/kparts/partmanager.h:52: error: virtual outside class declaration /opt/kde3/3.4/include/kparts/partmanager.h:52: error: virtual outside class declaration /opt/kde3/3.4/include/kparts/partmanager.h: In function `QObject* qObject()': /opt/kde3/3.4/include/kparts/partmanager.h:52: error: invalid use of `this' in non-member function /opt/kde3/3.4/include/kparts/partmanager.h: At global scope: /opt/kde3/3.4/include/kparts/partmanager.h:52: error: parse error before ` private' /opt/kde3/3.4/include/kparts/partmanager.h:76: error: ISO C++ forbids declaration of `PartManager' with no type /opt/kde3/3.4/include/kparts/partmanager.h:85: error: ISO C++ forbids declaration of `PartManager' with no type /opt/kde3/3.4/include/kparts/partmanager.h:86: error: destructors must be member functions /opt/kde3/3.4/include/kparts/partmanager.h:86: error: virtual outside class declaration /opt/kde3/3.4/include/kparts/partmanager.h:91: error: `SelectionPolicy' was not declared in this scope /opt/kde3/3.4/include/kparts/partmanager.h:91: error: parse error before `)' token /opt/kde3/3.4/include/kparts/partmanager.h:95: error: parse error before `)' token /opt/kde3/3.4/include/kparts/partmanager.h:113: error: non-member function ` bool allowNestedParts()' cannot have `const' method qualifier /opt/kde3/3.4/include/kparts/partmanager.h:127: error: non-member function ` bool ignoreScrollBars()' cannot have `const' method qualifier /opt/kde3/3.4/include/kparts/partmanager.h:138: error: non-member function ` short int activationButtonMask()' cannot have `const' method qualifier /opt/kde3/3.4/include/kparts/partmanager.h:143: error: virtual outside class declaration /opt/kde3/3.4/include/kparts/partmanager.h:152: error: `Part' was not declared in this scope /opt/kde3/3.4/include/kparts/partmanager.h:152: error: `part' was not declared in this scope /opt/kde3/3.4/include/kparts/partmanager.h:152: error: parse error before `=' token /opt/kde3/3.4/include/kparts/partmanager.h:152: error: virtual outside class declaration /opt/kde3/3.4/include/kparts/partmanager.h:159: error: `Part' was not declared in this scope /opt/kde3/3.4/include/kparts/partmanager.h:159: error: `part' was not declared in this scope /opt/kde3/3.4/include/kparts/partmanager.h:159: error: virtual outside class declaration /opt/kde3/3.4/include/kparts/partmanager.h:159: error: variable or field ` removePart' declared void /opt/kde3/3.4/include/kparts/partmanager.h:166: error: `Part' was not declared in this scope /opt/kde3/3.4/include/kparts/partmanager.h:166: error: `oldPart' was not declared in this scope /opt/kde3/3.4/include/kparts/partmanager.h:166: error: `Part' was not declared in this scope /opt/kde3/3.4/include/kparts/partmanager.h:166: error: `newPart' was not declared in this scope /opt/kde3/3.4/include/kparts/partmanager.h:166: error: parse error before `=' token /opt/kde3/3.4/include/kparts/partmanager.h:166: error: virtual outside class declaration /opt/kde3/3.4/include/kparts/partmanager.h:176: error: `Part' was not declared in this scope /opt/kde3/3.4/include/kparts/partmanager.h:176: error: `part' was not declared in this scope /opt/kde3/3.4/include/kparts/partmanager.h:176: error: parse error before `*' token /opt/kde3/3.4/include/kparts/partmanager.h:176: error: virtual outside class declaration /opt/kde3/3.4/include/kparts/partmanager.h:181: error: syntax error before `*' token /opt/kde3/3.4/include/kparts/partmanager.h:186: error: virtual outside class declaration /opt/kde3/3.4/include/kparts/partmanager.h:186: error: non-member function ` QWidget* activeWidget()' cannot have `const' method qualifier /opt/kde3/3.4/include/kparts/partmanager.h:196: error: `Part' was not declared in this scope /opt/kde3/3.4/include/kparts/partmanager.h:196: error: `part' was not declared in this scope /opt/kde3/3.4/include/kparts/partmanager.h:196: error: parse error before `*' token /opt/kde3/3.4/include/kparts/partmanager.h:196: error: virtual outside class declaration /opt/kde3/3.4/include/kparts/partmanager.h:201: error: syntax error before `*' token /opt/kde3/3.4/include/kparts/partmanager.h:206: error: virtual outside class declaration /opt/kde3/3.4/include/kparts/partmanager.h:206: error: non-member function ` QWidget* selectedWidget()' cannot have `const' method qualifier /opt/kde3/3.4/include/kparts/partmanager.h:211: error: `Part' was not declared in this scope /opt/kde3/3.4/include/kparts/partmanager.h:211: error: template argument 1 is invalid /opt/kde3/3.4/include/kparts/partmanager.h:211: error: ISO C++ forbids declaration of `parts' with no type /opt/kde3/3.4/include/kparts/partmanager.h:211: error: non-member function ` const int* parts()' cannot have `const' method qualifier /opt/kde3/3.4/include/kparts/partmanager.h:232: error: non-member function `int reason()' cannot have `const' method qualifier /opt/kde3/3.4/include/kparts/partmanager.h:234: error: parse error before ` protected' /opt/kde3/3.4/include/kparts/partmanager.h:251: error: parse error before ` protected' /opt/kde3/3.4/include/kparts/partmanager.h:274: error: parse error before ` private' /opt/kde3/3.4/include/kparts/partmanager.h:276: error: syntax error before `*' token In file included from /opt/kde3/3.4/include/kurl.h:25, from ../lib/interfaces/kdevcore.h:40, from core.h:9, from api.cpp:1: /opt/kde3/3.4/include/kdelibs_export.h:36:1: warning: "KDEUI_EXPORT" redefined In file included from /opt/kde3/3.4/include/kparts/partmanager.h:28, from core.h:6, from api.cpp:1: ../lib/qextmdi/kdelibs_export.h:5:1: warning: this is the location of the previous definition In file included from /opt/kde3/3.4/include/kurl.h:25, from ../lib/interfaces/kdevcore.h:40, from core.h:9, from api.cpp:1: /opt/kde3/3.4/include/kdelibs_export.h:50:1: warning: "KMDI_EXPORT" redefined In file included from /opt/kde3/3.4/include/kparts/partmanager.h:28, from core.h:6, from api.cpp:1: ../lib/qextmdi/kdelibs_export.h:4:1: warning: this is the location of the previous definition In file included from /opt/kde3/3.4/include/kurl.h:25, from ../lib/interfaces/kdevcore.h:40, from core.h:9, from api.cpp:1: /opt/kde3/3.4/include/kdelibs_export.h:51:1: warning: "KUTILS_EXPORT" redefined In file included from /opt/kde3/3.4/include/kparts/partmanager.h:28, from core.h:6, from api.cpp:1: ../lib/qextmdi/kdelibs_export.h:6:1: warning: this is the location of the previous definition In file included from partcontroller.h:4, from api.cpp:3: ../lib/interfaces/kdevpartcontroller.h:57: error: `PartManager' is not a class or namespace ../lib/interfaces/kdevpartcontroller.h:57: error: invalid base-class specification In file included from api.cpp:3: partcontroller.h:43: warning: `class PartController' has virtual functions but non-virtual destructor /opt/kde3/3.4/include/kparts/partmanager.h:52: warning: `bool qt_static_property(QObject*, int, int, QVariant*)' declared `static' but never defined /opt/kde3/3.4/include/kparts/partmanager.h:52: warning: `QMetaObject* staticMetaObject()' declared `static' but never defined make[3]: *** [api.lo] Error 1 make[3]: Leaving directory `/var/tmp/kde/archive/3.4/kdevelop-3.2.0/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/kde/archive/3.4/kdevelop-3.2.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/kde/archive/3.4/kdevelop-3.2.0' make: *** [all] Error 2