[ECOS] Fix in clock.cxx

Gary Thomas gary@mlbassoc.com
Mon Sep 22 16:06:00 GMT 2003


On Mon, 2003-09-22 at 09:47, Christoph Csebits wrote:
> hello,
> 
> compiling with powerpc-eabi-gcc (GCC) 3.2.2
> we get an error message in kernel/current/src/common/clock.cxx:404
> something like:
> 
> label must be followed by statement
> 
> the following patch is a possible solution.
> (including optimizing out the #else branch)

Does it work to just add an empty statement after the label?
For example:

  add_alarm_unlock_return: ;

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates



More information about the Ecos-patches mailing list