This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: patch: <bits/localefwd.h> with -fno-exceptions
- To: libstdc++ at gcc dot gnu dot org
- Subject: Re: patch: <bits/localefwd.h> with -fno-exceptions
- From: Nathan Myers <ncm at nospam dot cantrip dot org>
- Date: Sun, 14 Jan 2001 21:55:04 -0800
- References: <20010115005751.A1284@rotes20.wohnheim.uni-kl.de>
- Reply-To: libstdc++ at gcc dot gnu dot org
On Mon, Jan 15, 2001 at 12:57:51AM +0100, Dirk Mueller wrote:
> Please also think of embedded environment where size still matters. Not
> being able to compile a simple C++ program because even essential header
> files include bits/localefwd.h is a severe limitation in the use of this
> library.
> ...
> I agree that __STL_THROW et al makes the code much more difficult to read.
> If there would be a better support for "no exceptions" then there could be a
> better solution (i.e. be able tell the compiler to ignore throw/catch
> statements).
I agree that -fno-exceptions should cause the compiler to ignore
exception declarations. I don't know why it doesn't already.
Nathan Myers
ncm at cantrip dot org