This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compiling with gcc-4.0.0 and -fno-exceptions


Daniel Kegel wrote:

> Filed as http://gcc.gnu.org/PR21951
> which was immediately marked as a duplicate of
> http://gcc.gnu.org/PR19699, since my bugzilla searching skills
> are obviously not up to par!
>
> I will work around this in my local copy of libstdc++ by adding
>
> +#ifdef __EXCEPTIONS
>        catch(...)
>         {
>           std::_Destroy(__result, __cur);
>           __throw_exception_again;
>         }
> +#endif
>
> to fix the "silliness" in libstdc++, as suggested by Andrew Pinski.

Ok, agreed ;)

By the way, I'm at work on the alternate non-COW base class: should have
something in a few days (I have already a working prototype that I have
only to integrate in the new framework)

Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]