public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Mbox Class Inlines
@ 2009-03-05 12:09 David Schollmeyer
  0 siblings, 0 replies; only message in thread
From: David Schollmeyer @ 2009-03-05 12:09 UTC (permalink / raw)
  To: ecos-discuss

I have a question on the usage of the Mbox class. If I just include
<cyg/kernel/mbox.hxx>, I get a compile error that the inline function
Cyg_ThreadQueue::empty() is used but not defined. It appears that
thread.inl is not included. If I look in mbox.hxx, it includes either
mboxt.hxx or mboxt2.hxx to implement the queue depending on the value
of CYGIMP_MBOX_USE_MBOXT_PLAIN. Both of these files say to include
mboxt.inl or mboxt2.inl along with the .hxx file and these .inl files
correctly include thread.inl. If I add an include of
<cyg/kernel/mboxt.inl> in my code everything compiles correctly, but
shouldn't this be done in mbox.hxx due to the MBOXT configuration
option?

David Schollmeyer

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-04 17:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-05 12:09 [ECOS] Mbox Class Inlines David Schollmeyer

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).