Package: krusader Version: 1.60.0-2 Severity: serious Tags: patch When building 'krusader' on amd64/unstable, I get the following error:
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/include/qt3 -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_LARGEFILE64_SOURCE -DKDE_NO_COMPAT -DQT_NO_ASCII_CAST -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -c -o krbookmarkhandler.o `test -f 'krbookmarkhandler.cpp' || echo './'`krbookmarkhandler.cpp ../Panel/listpanel.h:152: error: ISO C++ forbids declaration of 'ListPanelFunc' with no type With the attached patch 'krusader' can be compiled using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/krusader-1.60.0/krusader/MountMan/kmountman.h ./krusader/MountMan/kmountman.h --- ../tmp-orig/krusader-1.60.0/krusader/MountMan/kmountman.h 2004-10-27 14:08:27.000000000 +0000 +++ ./krusader/MountMan/kmountman.h 2005-09-05 18:30:16.000000000 +0000 @@ -45,6 +45,8 @@ #include <stdlib.h> #include <math.h> +class KMountManGUI; + class KMountMan : public QObject { Q_OBJECT friend class KMountManGUI; diff -urN ../tmp-orig/krusader-1.60.0/krusader/Panel/krdetailedview.h ./krusader/Panel/krdetailedview.h --- ../tmp-orig/krusader-1.60.0/krusader/Panel/krdetailedview.h 2005-02-08 22:01:10.000000000 +0000 +++ ./krusader/Panel/krdetailedview.h 2005-09-05 18:32:06.000000000 +0000 @@ -61,6 +61,7 @@ class QDragMoveEvent; class KrRenameTimerObject; class ListPanel; +class KrDetailedViewItem; /** * KrDetailedView implements everthing and anything regarding a detailed view in a filemananger. diff -urN ../tmp-orig/krusader-1.60.0/krusader/Panel/listpanel.h ./krusader/Panel/listpanel.h --- ../tmp-orig/krusader-1.60.0/krusader/Panel/listpanel.h 2005-02-04 16:15:10.000000000 +0000 +++ ./krusader/Panel/listpanel.h 2005-09-05 18:29:46.000000000 +0000 @@ -71,6 +71,7 @@ class SyncBrowseButton; class KrBookmarkButton; class KPushButton; +class ListPanelFunc; class ListPanel : public QWidget { friend class ListPanelFunc; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]