This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Fix in clock.cxx
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Christoph Csebits <christoph dot csebits at frequentis dot com>
- Cc: ecos discuss list <ecos-discuss at sources dot redhat dot com>,ecos patches list <ecos-patches at sources dot redhat dot com>
- Date: 22 Sep 2003 10:05:59 -0600
- Subject: Re: [ECOS] Fix in clock.cxx
- Organization: MLB Associates
- References: <20030922174707.A21613@frequentis.com>
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
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss