Package: tinymux
Version: 2.3.4.23-1
Severity: serious
Tags: patch

When building 'tinymux' on amd64/unstable,
I get the following error:

g++  -g -O       -DWOD_REALMS -c alloc.cpp
timeutil.h:37: error: expected ',' or '...' before '&' token
timeutil.h:37: error: ISO C++ forbids declaration of 'CLinearTimeDelta' with no 
type
timeutil.h:38: error: expected ',' or '...' before '&' token
timeutil.h:38: error: ISO C++ forbids declaration of 'CLinearTimeDelta' with no 
type
timeutil.h:39: error: ISO C++ forbids declaration of 'CLinearTimeDelta' with no 
type
timeutil.h:39: error: 'CLinearTimeDelta' is neither function nor member 
function; cannot be declared friend
timeutil.h:39: error: expected ';' before 'operator'
timeutil.h:49: error: expected ',' or '...' before '&' token
timeutil.h:49: error: ISO C++ forbids declaration of 'CLinearTimeDelta' with no 
type
timeutil.h:52: error: expected ',' or '...' before '&' token
timeutil.h:52: error: ISO C++ forbids declaration of 'CLinearTimeDelta' with no 
type
timeutil.h:53: error: expected ',' or '...' before '&' token
timeutil.h:53: error: ISO C++ forbids declaration of 'CLinearTimeDelta' with no 
type
make[1]: *** [alloc.o] Error 1
make[1]: Leaving directory `/tinymux-2.3.4.23/src'
make: *** [build-stamp] Error 2

The attached patch fixes this problem. 

There is another FTBFS problem which seems to be related to the 
IEEE floating point check in the configure script.

Regards
Andreas Jochens

diff -urN ../tmp-orig/tinymux-2.3.4.23/src/timeutil.h ./src/timeutil.h
--- ../tmp-orig/tinymux-2.3.4.23/src/timeutil.h 2004-12-25 00:07:10.000000000 
+0000
+++ ./src/timeutil.h    2005-08-14 18:21:19.000000000 +0000
@@ -27,6 +27,8 @@
     unsigned short iNanosecond;  // Nanoseconds less than a Microsecond.
 } FIELDEDTIME;
 
+class CLinearTimeDelta;
+
 class CLinearTimeAbsolute
 {
     friend class CLinearTimeDelta;


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

Reply via email to