Your message dated Thu, 14 Apr 2005 10:27:54 +0200 (CEST)
with message-id <[EMAIL PROTECTED]>
and subject line Patch applied
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 9 Apr 2005 11:34:19 +0000
>From [EMAIL PROTECTED] Sat Apr 09 04:34:18 2005
Return-path: <[EMAIL PROTECTED]>
Received: from d007094.adsl.hansenet.de (localhost.localdomain) [80.171.7.94]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DKEEE-0007b9-00; Sat, 09 Apr 2005 04:34:18 -0700
Received: from aj by localhost.localdomain with local (Exim 4.50)
id 1DKEEC-0007Or-2l; Sat, 09 Apr 2005 13:34:16 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: avida: FTBFS (amd64/gcc-4.0): 'target' was not declared in this scope
Message-Id: <[EMAIL PROTECTED]>
Date: Sat, 09 Apr 2005 13:34:16 +0200
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Package: avida
Version: 2.0b7-2
Severity: normal
Tags: patch
When building 'avida' on amd64/unstable with gcc-4.0,
I get the following error:
fi
data_entry.hh: In member function 'bool tDataEntry<T,
OUT>::Print(std::ostream&) const':
data_entry.hh:97: error: 'target' was not declared in this scope
data_entry.hh:98: error: 'target' was not declared in this scope
data_entry.hh: In member function 'int tDataEntry<T, OUT>::Compare(T*) const':
data_entry.hh:104: error: 'target' was not declared in this scope
data_entry.hh: In member function 'bool tDataEntry<T, OUT>::Set(const
cString&)':
data_entry.hh:109: error: 'target' was not declared in this scope
data_entry.hh: In member function 'bool tArgDataEntry<T, OUT,
ARG>::Print(std::ostream&) const':
data_entry.hh:131: error: 'target' was not declared in this scope
data_entry.hh:132: error: 'target' was not declared in this scope
data_entry.hh: In member function 'int tArgDataEntry<T, OUT, ARG>::Compare(T*)
const':
data_entry.hh:138: error: 'target' was not declared in this scope
make[3]: *** [data_entry.o] Error 1
make[3]: Leaving directory `/avida-2.0b7/source/tools'
With the attached patch 'avida' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/avida-2.0b7/source/tools/data_entry.hh
./source/tools/data_entry.hh
--- ../tmp-orig/avida-2.0b7/source/tools/data_entry.hh 2003-05-17
11:48:15.000000000 +0200
+++ ./source/tools/data_entry.hh 2005-04-09 13:14:22.654907371 +0200
@@ -94,19 +94,19 @@
DataSet(_funS), DataCompare(_funC) { ; }
bool Print(std::ostream & fp) const {
- if (target == NULL) return false;
- fp << (target->*DataRetrieval)();
+ if (this->target == NULL) return false;
+ fp << (this->target->*DataRetrieval)();
return true;
}
- //int Compare(T * other) const { return (target->*DataCompare)(other); }
+ //int Compare(T * other) const { return (this->target->*DataCompare)(other);
}
int Compare(T * other) const {
- return (DataCompare)?((target->*DataCompare)(other)):(0);
+ return (DataCompare)?((this->target->*DataCompare)(other)):(0);
}
bool Set(const cString & value) {
OUT new_value(0);
if (DataSet == 0) return false;
- (target->*DataSet)( cStringUtil::Convert(value, new_value) );
+ (this->target->*DataSet)( cStringUtil::Convert(value, new_value) );
return true;
}
};
@@ -128,14 +128,14 @@
DataRetrieval(_funR), DataCompare(_funC), arg(_arg) { ; }
bool Print(std::ostream & fp) const {
- if (target == NULL) return false;
- fp << (target->*DataRetrieval)(arg);
+ if (this->target == NULL) return false;
+ fp << (this->target->*DataRetrieval)(arg);
return true;
}
//int Compare(T * other) const { return (target->*DataCompare)(other, arg); }
int Compare(T * other) const {
- return (DataCompare)?((target->*DataCompare)(other, arg)):(0);
+ return (DataCompare)?((this->target->*DataCompare)(other, arg)):(0);
}
};
---------------------------------------
Received: (at 303882-done) by bugs.debian.org; 14 Apr 2005 08:28:26 +0000
>From [EMAIL PROTECTED] Thu Apr 14 01:28:26 2005
Return-path: <[EMAIL PROTECTED]>
Received: from web25310.mail.ukl.yahoo.com [217.12.10.82]
by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
id 1DLzi6-0008Bl-00; Thu, 14 Apr 2005 01:28:26 -0700
Received: (qmail 9691 invoked by uid 60001); 14 Apr 2005 08:27:55 -0000
Message-ID: <[EMAIL PROTECTED]>
Received: from [156.35.192.4] by web25310.mail.ukl.yahoo.com via HTTP; Thu, 14
Apr 2005 10:27:54 CEST
Date: Thu, 14 Apr 2005 10:27:54 +0200 (CEST)
From: Miriam Ruiz <[EMAIL PROTECTED]>
Subject: Patch applied
To: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-0.1 required=4.0 tests=BAYES_44 autolearn=no
version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
The patch has been applied in version 2.0b7-3 and it
seems to compile without problem now in amd64
______________________________________________
Renovamos el Correo Yahoo!: �250 MB GRATIS!
Nuevos servicios, m�s seguridad
http://correo.yahoo.es
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]