Package: kimdaba
Version: 2.0-4
Severity: normal
Tags: patch

if x86_64-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde 
-I/usr/share/qt3/include -I/usr/X11R6/include    -DQT_THREAD_SUPPORT  
-D_REENTRANT  -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 -Wall -O2 -Wformat-security 
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION  -DQT_NO_CAST_ASCII -DQT_CAST_NO_ASCII  -MT main.o -MD -MP 
-MF ".deps/main.Tpo" -c -o main.o main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 
1; fi
thumbnailview.h:54: error: 'ThumbNail' has not been declared
thumbnailview.h:55: error: 'ThumbNail' has not been declared
thumbnailview.h:56: error: 'ThumbNail' was not declared in this scope
thumbnailview.h:56: error: template argument 1 is invalid
thumbnailview.h:62: error: ISO C++ forbids declaration of 'ThumbNail' with no 
type
thumbnailview.h:62: error: expected ';' before '*' token
make[4]: *** [main.o] Error 1
make[4]: Leaving directory `/kimdaba-2.0/kimdaba'

With the attached patch 'kimdaba' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/kimdaba-2.0/kimdaba/thumbnailview.h 
./kimdaba/thumbnailview.h
--- ../tmp-orig/kimdaba-2.0/kimdaba/thumbnailview.h     2004-08-23 
17:52:27.000000000 +0200
+++ ./kimdaba/thumbnailview.h   2005-06-17 21:51:54.000000000 +0200
@@ -22,6 +22,7 @@
 #include "imageinfo.h"
 class ImageManager;
 class IconViewToolTip;
+class ThumbNail;
 
 class ThumbNailView :public KIconView {
     Q_OBJECT


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to