This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: help with C++ needed....
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Billy <billy at dadadada dot net>
- Cc: eCos Disuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Sat, 22 Oct 2005 09:50:52 +0200
- Subject: Re: [ECOS] help with C++ needed....
- References: <20051021201131.GS7087@lunn.ch> <43595DC0.9050505@dadadada.net>
On Fri, Oct 21, 2005 at 05:29:36PM -0400, Billy wrote:
> Andrew Lunn wrote:
> >Hi Folks
> >
> >Could somebody who is better at C++ than me take a look at this
> >warning gcc 4.0.2 is giving. Using the "Monkey's typing Shakespeare"
> >approach did not get me very far...
> >
> >/home/lunn/eCos/work/install/include/cyg/kernel/thread.inl:630: warning:
> >'cyg_bool Cyg_ThreadQueue::empty()' was used before it was declared inline
> >/home/lunn/eCos/work/install/include/cyg/kernel/thread.hxx:565: warning:
> >previous non-inline declaration here
>
> Do like 'remove' (just above), and lose the 'inline' qualifier
> in thread.hxx:565. The 'inline' qualifier in the _definition_
> should be enough, eh?
>
> The usage: "inline foo();" (with a semicolon) smells fishy.
>
> Maybe you tried that already.
Yep, tried that, same error.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss