public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Billy <billy@dadadada.net>
To: Billy <billy@dadadada.net>
Cc: Andrew Lunn <andrew@lunn.ch>,
	 eCos Disuss <ecos-discuss@ecos.sourceware.org>
Subject: Re: [ECOS] help with C++ needed....
Date: Fri, 21 Oct 2005 21:35:00 -0000	[thread overview]
Message-ID: <43595EFC.4000802@dadadada.net> (raw)
In-Reply-To: <43595DC0.9050505@dadadada.net>

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.

This might help:
http://www.parashift.com/c++-faq-lite/inline-functions.html#faq-9.9


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

  reply	other threads:[~2005-10-21 21:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-21 20:11 Andrew Lunn
2005-10-21 21:29 ` Billy
2005-10-21 21:35   ` Billy [this message]
2005-10-22  7:51   ` Andrew Lunn
2005-10-22 13:25     ` Alexander Neundorf
2005-10-22 19:11       ` Andrew Lunn
2005-10-23  6:48         ` Paul D. DeRocco

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43595EFC.4000802@dadadada.net \
    --to=billy@dadadada.net \
    --cc=andrew@lunn.ch \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).