This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: eCos and C++
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: "Retallack, Mark (Poole)" <mark dot retallack at siemens dot com>
- Cc: "'Ilan Finci'" <ifinci at myrealbox dot com>, ecos-discuss at sources dot redhat dot com
- Date: Wed, 18 Jun 2003 09:47:11 +0200
- Subject: Re: [ECOS] eCos and C++
- References: <F5AFBF4F39DBDD488C5B9B41D48145CC1F934D@plestcl0112.stcl.siemens.co.uk>
On Wed, Jun 18, 2003 at 08:32:55AM +0100, Retallack, Mark (Poole) wrote:
> The core of eCos is C++ classes. C stub functions have been added for use in
> basic C code. So you could make an application in C++. However it has been
> suggested that you should use the 'c' based kernel calls instead of the cpp
> classes directly. I cannot remember why, I did try to find the thread on the
> mailing list but it is not easy to search for the keyword "c++".
Only the C API is documented and guaranteed to not change. The
internal C++ API is not documented and at times has changed in ways
that can break compatibility.
Some people do use the C++ API, but with the understanding that things
could break at any time.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss