Package: kdoomsday
Severity: normal
Tags: patch

When building 'kdoomsday' on amd64 with gcc-4.0,
I get the following error:

/usr/share/qt3/include/qtooltip.h:86: warning: 'class QToolTip' has virtual 
functions but non-virtual destructor
kdoomsday.cpp:194: warning: unused parameter 'height'
kdoomsday.cpp:201: warning: unused parameter 'width'
kdoomsday.cpp: In member function 'void CounterWidget::updateCounter()':
kdoomsday.cpp:221: error: 'floor' was not declared in this scope

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/kdoomsday-0.2/src/kdoomsday.cpp ./src/kdoomsday.cpp
--- ../tmp-orig/kdoomsday-0.2/src/kdoomsday.cpp 2005-03-21 01:06:09.528930756 
+0100
+++ ./src/kdoomsday.cpp 2005-03-21 01:06:01.989390810 +0100
@@ -46,6 +46,7 @@
  **************************************************************************/
 
 
+#include <math.h>
 #include <qtooltip.h>
 #include <kglobal.h>
 #include <klocale.h>


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

Reply via email to