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
On Tue, Jan 16, 2001 at 09:24:38AM +0000, Jason Merrill wrote:
> There are certainly still some improvements that can be made to the unwind
> information, but EH support will always involve significant overhead,
> especially on x86. Allowing the library to work with -fno-exceptions
> should not be considered a workaround.
Adding ugly macros to the library just because the compiler enforces
silly restrictions would unquestionably be a workaround.
With "-fno-exceptions", the current compiler rejects "throw()"
decorations on function declarations. Ugly macros would be needed
to work around that behavior. Fixing the compiler would be so much
preferable that we are not accepting patches to add the ugly macros.
Nathan Myers
ncm at cantrip dot org