Your message dated Sat, 11 Feb 2006 08:15:55 +0100
with message-id <[EMAIL PROTECTED]>
and subject line warped: #268250 fixed in latest unstable version
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: warped
Severity: normal
Tags: patch
When building 'warped' with gcc-3.4 I get the following error:
Making all in src
make[2]: Entering directory `/warped-20031216/src'
if /bin/sh ../libtool --mode=compile x86_64-linux-g++ -DHAVE_CONFIG_H -I. -I.
-I../src/warped -I../src/warped -I../src -I../src -I/usr/include/mpi
-I/usr/include/pccts -g -O2 -MT Serializable.lo -MD -MP -MF
".deps/Serializable.Tpo" \
-c -o Serializable.lo `test -f 'warped/Serializable.cpp' || echo
'./'`warped/Serializable.cpp; \
then mv -f ".deps/Serializable.Tpo" ".deps/Serializable.Plo"; \
else rm -f ".deps/Serializable.Tpo"; exit 1; \
fi
mkdir .libs
x86_64-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../src/warped -I../src/warped
-I../src -I../src -I/usr/include/mpi -I/usr/include/pccts -g -O2 -MT
Serializable.lo -MD -MP -MF .deps/Serializable.Tpo -c warped/Serializable.cpp
-fPIC -DPIC
In file included from warped/SerializedInstance.h:26,
from warped/Serializable.cpp:2:
warped/warped.h:39: error: `INT64_MAX' was not declared in this scope
warped/warped.h:40: error: `INT64_MIN' was not declared in this scope
warped/warped.h:41: error: `INT32_MAX' was not declared in this scope
warped/warped.h:42: error: `INT32_MIN' was not declared in this scope
make[2]: *** [Serializable.lo] Error 1
make[2]: Leaving directory `/warped-20031216/src'
With the attached patch 'warped' can be compiled using gcc-3.4.
Regards
Andreas Jochens
diff -urN ../tmp-orig/warped-20031216/src/warped/controlkit/SyncSensor.h
./src/warped/controlkit/SyncSensor.h
--- ../tmp-orig/warped-20031216/src/warped/controlkit/SyncSensor.h
2003-01-16 21:59:19.000000000 +0100
+++ ./src/warped/controlkit/SyncSensor.h 2004-08-26 20:35:09.101488049
+0200
@@ -54,7 +54,7 @@
/// get the type of this sensor
sensorType getType(){
- return sensor_type;
+ return this->sensor_type;
};
NormalType& getSensorData(){
@@ -63,12 +63,12 @@
/// return the name of this sensor
string& getSensorName(){
- return sensorName;
+ return this->sensorName;
}
/// dump the values of this sensor to the ostream
void dump(ostream &out){
- out << sensorName << ": value: " << controlledElement << endl;
+ out << this->sensorName << ": value: " << controlledElement << std::endl;
};
/// overloaded assignment operator
diff -urN ../tmp-orig/warped-20031216/src/warped/eclmpl/eclmplTimer.cpp
./src/warped/eclmpl/eclmplTimer.cpp
--- ../tmp-orig/warped-20031216/src/warped/eclmpl/eclmplTimer.cpp
2002-08-02 16:24:21.000000000 +0200
+++ ./src/warped/eclmpl/eclmplTimer.cpp 2004-08-26 22:13:08.469688225 +0200
@@ -4,7 +4,7 @@
start();
} // End of constructor.
-inline void
+void
eclmplTimer::start() {
gettimeofday(&startTime, NULL);
} // End of start().
diff -urN ../tmp-orig/warped-20031216/src/warped/warped.h ./src/warped/warped.h
--- ../tmp-orig/warped-20031216/src/warped/warped.h 2003-05-02
16:59:39.000000000 +0200
+++ ./src/warped/warped.h 2004-08-26 20:21:48.501197793 +0200
@@ -29,13 +29,13 @@
enumerations used in the system. */
#ifdef HAVE_STDINT_H
-// The following is a C-99ism...
-#ifndef __STDC_LIMIT_MACROS
-#define __STDC_LIMIT_MACROS
#include <stdint.h>
-#endif
typedef int64_t warped64_t;
typedef int32_t warped32_t;
+# define INT32_MIN (-2147483647-1)
+# define INT64_MIN (-9223372036854775807-1)
+# define INT32_MAX (2147483647)
+# define INT64_MAX (9223372036854775807)
const warped64_t warped64Max = INT64_MAX;
const warped64_t warped64Min = INT64_MIN;
const warped64_t warped32Max = INT32_MAX;
--- End Message ---
--- Begin Message ---
This has been fixed, thanks!
--- End Message ---