Package: hrd
Version: 0.1-1
Severity: normal
Tags: patch

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

x86_64-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -W -g -O2 -c bookmark.cc
bookmark.cc:34: error: redefinition of 'Lock::~Lock()'
hrd.h:378: error: 'virtual Lock::~Lock()' previously defined here
make[1]: *** [bookmark.o] Error 1
make[1]: Leaving directory `/hrd-0.1'
make: *** [build-stamp] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/hrd-0.1/bookmark.cc ./bookmark.cc
--- ../tmp-orig/hrd-0.1/bookmark.cc     2004-04-17 00:50:20.000000000 +0200
+++ ./bookmark.cc       2005-04-10 10:42:28.874000551 +0200
@@ -31,10 +31,6 @@
 {
 }
 
-Lock::~Lock()
-{
-}
-
 bool
 Lock::islocked() const
 {


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

Reply via email to