[Tinymux] Compiling on GCC4?

Greg Taylor gtaylor at CLEMSON.EDU
Fri Oct 7 18:41:34 EDT 2005


Has anyone had any luck compiling MUX2 on gcc4? I tried on an Ubuntu
"Breezy" machine with gcc 4.0 and got a whole bunch of funky errors:

greg at stimpy:~/Desktop/mux2.4/src$ make
g++  -g -O          -c _build.cpp
g++  -g -O          -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: *** [alloc.o] Error 1

Anyone else having this trouble? Note that I tried compiling on gcc3.4
with no problem on a different box.



More information about the Tinymux mailing list