Your message dated Sun, 2 Apr 2006 21:48:49 +0200
with message-id <[EMAIL PROTECTED]>
and subject line removed
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)
--- Begin Message ---
Package: tyvis
Severity: normal
Tags: patch
When building 'tyvis' with gcc-3.4 I get the following error:
tyvis/Signal.hh:29: error: incomplete type `SourceBase' used in nested name
specifier
In file included from tyvis/Signal.hh:124,
from tyvis/EnumerationType.cc:2:
./tyvis/Signal.cc: In copy constructor `Signal<Type>::Signal(const
Signal<Type>&)':
./tyvis/Signal.cc:66: error: `numAttributes' undeclared (first use this
function)
./tyvis/Signal.cc:66: error: (Each undeclared identifier is reported only once
for each function it appears in.)
In file included from tyvis/EnumerationType.cc:3:
tyvis/ImplicitSignal.hh: At global scope:
tyvis/ImplicitSignal.hh:47: error: `ZERO' was not declared in this scope
In file included from tyvis/ImplicitSignal.hh:83,
from tyvis/EnumerationType.cc:3:
./tyvis/ImplicitSignal.cc: In constructor
`ImplicitSignal<Type>::ImplicitSignal(int)':
./tyvis/ImplicitSignal.cc:28: error: `numAttributes' undeclared (first use this
function)
./tyvis/ImplicitSignal.cc: In constructor
`ImplicitSignal<Type>::ImplicitSignal(const char*)':
./tyvis/ImplicitSignal.cc:53: error: `numAttributes' undeclared (first use this
function)
make[2]: *** [EnumerationType.lo] Error 1
make[2]: Leaving directory `/tyvis-20031216/src'
With the attached patch 'tyvis' can be compiled using gcc-3.4.
Regards
Andreas Jochens
diff -urN ../tmp-orig/tyvis-20031216/src/tyvis/ImplicitSignal.cc
./src/tyvis/ImplicitSignal.cc
--- ../tmp-orig/tyvis-20031216/src/tyvis/ImplicitSignal.cc 2003-12-08
20:24:39.000000000 +0100
+++ ./src/tyvis/ImplicitSignal.cc 2004-08-26 22:23:16.849200481 +0200
@@ -25,7 +25,7 @@
inline
ImplicitSignal<Type>::ImplicitSignal(const int i): timeval(
VHDLVTime::getVHDLVTimeZero() ){
sensitive = true;
- numAttributes = 0;
+ this->numAttributes = 0;
attributeList = NULL;
allAttributes.sigtype = drvVal.getUniversalKind();
source = NULL;
@@ -50,7 +50,7 @@
ImplicitSignal<Type>::ImplicitSignal(const char* newname) :
SignalBase(newname),
timeval( VHDLVTime::getVHDLVTimeZero() ) {
sensitive = true;
- numAttributes = 0;
+ this->numAttributes = 0;
attributeList = NULL;
source = NULL;
}
diff -urN ../tmp-orig/tyvis-20031216/src/tyvis/ImplicitSignal.hh
./src/tyvis/ImplicitSignal.hh
--- ../tmp-orig/tyvis-20031216/src/tyvis/ImplicitSignal.hh 2003-12-04
20:13:18.000000000 +0100
+++ ./src/tyvis/ImplicitSignal.hh 2004-08-26 22:25:10.043992257 +0200
@@ -44,7 +44,7 @@
const ArrayInfo* = NULL);
VHDLData* readEffVal();
VHDLVTime& readTimeVal();
- VHDLVTime& updateTimeVal(const VHDLVTime& v = ZERO);
+ VHDLVTime& updateTimeVal(const VHDLVTime& v = 0);
ObjectBase& operator=(const ObjectBase&);
ObjectBase& operator=(const VHDLData&);
diff -urN ../tmp-orig/tyvis-20031216/src/tyvis/Signal.cc ./src/tyvis/Signal.cc
--- ../tmp-orig/tyvis-20031216/src/tyvis/Signal.cc 2003-12-16
16:20:28.000000000 +0100
+++ ./src/tyvis/Signal.cc 2004-08-26 22:24:51.179860041 +0200
@@ -63,7 +63,7 @@
// newd/deleted/copied.
type = s.type;
sensitive = s.sensitive;
- numAttributes = s.numAttributes;
+ this->numAttributes = s.numAttributes;
fanDest = s.fanDest;
attributeList = s.attributeList;
compositeResolvedSignal = false;
diff -urN ../tmp-orig/tyvis-20031216/src/tyvis/Signal.hh ./src/tyvis/Signal.hh
--- ../tmp-orig/tyvis-20031216/src/tyvis/Signal.hh 2003-12-04
20:13:18.000000000 +0100
+++ ./src/tyvis/Signal.hh 2004-08-26 22:25:43.398921537 +0200
@@ -12,8 +12,8 @@
$Id: Signal.hh,v 1.1 2003/12/04 19:13:18 dmartin Exp $ */
#include "tyvis/SignalBase.hh"
+#include "tyvis/SourceBase.hh"
-class SourceBase;
class VHDLProcess;
template <class Type>
diff -urN ../tmp-orig/tyvis-20031216/src/tyvis/UniversalLongLongInteger.cc
./src/tyvis/UniversalLongLongInteger.cc
--- ../tmp-orig/tyvis-20031216/src/tyvis/UniversalLongLongInteger.cc
2003-12-05 23:29:53.000000000 +0100
+++ ./src/tyvis/UniversalLongLongInteger.cc 2004-08-26 22:32:21.066466881
+0200
@@ -14,7 +14,7 @@
case UNIVERSAL_INTEGER:
case UNIVERSAL_REAL:
case UNIVERSAL_LONG_LONG_INTEGER:
- return UniversalLongLongInteger(toCast.getInt64Value());
+ return UniversalLongLongInteger((LONG)toCast.getInt64Value());
default:
cerr << toCast.getUniversalKind()
<< " cannot be type casted into an UniversalLongLongInteger ! " <<
endl;
diff -urN ../tmp-orig/tyvis-20031216/src/tyvis/Variable.hh
./src/tyvis/Variable.hh
--- ../tmp-orig/tyvis-20031216/src/tyvis/Variable.hh 2003-12-04
20:13:19.000000000 +0100
+++ ./src/tyvis/Variable.hh 2004-08-26 22:27:58.017456409 +0200
@@ -74,7 +74,7 @@
~Variable(){};
// Variable(const Variable<char*>&);
- void print(ostream &os = cout) const {
+ void print(ostream &os = std::cout) const {
os << "Variable: " << variableType << ": val(" << val << ")";
}
diff -urN ../tmp-orig/tyvis-20031216/test/UniversalLongLongIntegerTest.cc
./test/UniversalLongLongIntegerTest.cc
--- ../tmp-orig/tyvis-20031216/test/UniversalLongLongIntegerTest.cc
2003-12-08 15:55:46.000000000 +0100
+++ ./test/UniversalLongLongIntegerTest.cc 2004-08-26 22:33:32.258644025
+0200
@@ -12,7 +12,7 @@
void
UniversalLongLongIntegerTest::setUp(){
- toTest = new UniversalLongLongInteger( getDefaultValue() );
+ toTest = new UniversalLongLongInteger( (LONG) getDefaultValue() );
}
void
--- End Message ---
--- Begin Message ---
removed from the archive: uninstallable, not updated since 2004-07,
RC-buggy
--
Martin Michlmayr
http://www.cyrius.com/
--- End Message ---