Bug 72785

Summary: Kdevelop don't compile using gcc 3.3.2
Product: [Applications] kdevelop Reporter: Rosbacke <rosbacke>
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 2.1.5   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Rosbacke 2004-01-17 00:42:11 UTC
Version:           2.1.5 (using KDE KDE 3.1.4)
Installed from:    Compiled From Sources
Compiler:          gcc 3.3.2 
OS:          Linux

Using gcc 3.3.2 I can not compile kdevelop 2.1.5 from sources. The bug has been reported to Gentoo bug database:
http://bugs.gentoo.org/show_bug.cgi?id=36545

The following patch should fix the problem:
--- kdevelop-2.1.5_for_KDE_3.1/kdevelop/doctreeview.cpp.orig	2003-12-29 16:26:45.000000000 +0100
+++ kdevelop-2.1.5_for_KDE_3.1/kdevelop/doctreeview.cpp	2003-12-29 16:27:00.000000000 +0100
@@ -826,7 +826,7 @@
     void changePathes();
     virtual void refresh();
     #if KDE_QTVER >= 3
-    void DocTreeKDELibsFolder::appendBooks(QDir dir);
+    void appendBooks(QDir dir);
     #endif
 };


Basically, in the class definition of DocTreeKDELibsFolder, one function is qualified with the class name. This is no good.
This change is required for building kdevelop 2.1.5 on the Gentoo amd64 platform.
Comment 1 Alexander Dymo 2004-01-17 12:33:57 UTC
Sorry, KDevelop 2.x is not supported anymore. Please consider upgrading to KDevelop 3.0.