[Tinymux] Compiling on GCC4?
Stephen Dennis
brazilofmux at gmail.com
Fri Oct 7 18:51:34 EDT 2005
This has been fixed in the 2.3 and 2.4 cvs repositories.
Noltar ran into it two weeks ago as part of his support of TinyMUX 2.3 in
Debian. And, someone else ran into it earlier than that while trying to use
GCC 4.0 on Red Hat.
...
} FIELDEDTIME;
class CLinearTimeDelta;
class CLinearTimeAbsolute
{
...
Add 'class CLinearTimeDelta;' before the definition of
CLinearTimeAbsolute.
Brazil
On 10/7/05, Greg Taylor <gtaylor at clemson.edu> wrote:
>
> 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.
>
> _______________________________________________
> Tinymux mailing list
> Tinymux at tinymux.org
> http://www.tinymux.org/mailman/listinfo/tinymux
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.tinymux.org/pipermail/tinymux/attachments/20051007/b0caee02/attachment.html
More information about the Tinymux
mailing list