This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Use of exception and RTTI in application C+ code
- From: Raphaël Cotty <raphael dot cotty at free dot fr>
- To: Jonathan Larmour <jifl at eCosCentric dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Sat, 18 Jan 2003 21:13:08 +0100 (CET)
- Subject: Re: [ECOS] Use of exception and RTTI in application C+ code
- References: <1042881582.3e291c2eaed0b@imp.free.fr> <3E29A683.5020405@eCosCentric.com>
En réponse à Jonathan Larmour <jifl@eCosCentric.com>:
> Raphaël Cotty wrote:
> > Hi,
> > Is it possible to use exception and/or RTTI in C++ application code
> ?
> > And if it is, what are the drawbacks ?
>
> Not in the current sources, although I have patches to do so - I've
> never
> checked them in yet though as it requires changes to each and every
> target.
Ok, but why not ?
What is the link between the kernel and exception and/or RTTI ?
Why is it not possible to compile the kernel whithout such options and some parts
of the application with ?
In my case I have a set of constructors which can fail with different reasons
and I need to known them.
I would feel the use of exception very convenient in that case.
Thanks.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss