Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Small libstdc++ change required

0 views
Skip to first unread message

Vlad Galu

unread,
Dec 19, 2009, 2:30:02 AM12/19/09
to freebsd...@freebsd.org
Hi,

as per http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36612, could one
please apply the following patch?

-- cut here --
--- /usr/include/c++/4.2/ext/pb_ds/exception.hpp 2008-04-05
14:15:32.000000000 +0300
+++ /mnt/store/jails/dudu/usr/include/c++/4.2/ext/pb_ds/exception.hpp 2009-12-19
05:07:55.000000000 +0200
@@ -71,35 +71,35 @@
struct resize_error : public container_error { };

#if __EXCEPTIONS
- void
+ inline void
__throw_container_error(void)
{ throw container_error(); }

- void
+ inline void
__throw_insert_error(void)
{ throw insert_error(); }

- void
+ inline void
__throw_join_error(void)
{ throw join_error(); }

- void
+ inline void
__throw_resize_error(void)
{ throw resize_error(); }
#else
- void
+ inline void
__throw_container_error(void)
{ std::abort(); }

- void
+ inline void
__throw_insert_error(void)
{ std::abort(); }

- void
+ inline void
__throw_join_error(void)
{ std::abort(); }

- void
+ inline void
__throw_resize_error(void)
{ std::abort(); }
#endif
-- and here --

Thanks,
Vlad
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hacke...@freebsd.org"

Roman Divacky

unread,
Dec 19, 2009, 3:43:48 AM12/19/09
to Vlad Galu, freebsd...@freebsd.org
On Sat, Dec 19, 2009 at 09:28:55AM +0200, Vlad Galu wrote:
> Hi,
>
> as per http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36612, could one
> please apply the following patch?

the patch in question seems to be GPLv3, we cant apply it then...

Vlad Galu

unread,
Dec 19, 2009, 3:48:28 AM12/19/09
to Roman Divacky, freebsd...@freebsd.org
On Sat, Dec 19, 2009 at 10:40 AM, Roman Divacky <rdiv...@freebsd.org> wrote:
> On Sat, Dec 19, 2009 at 09:28:55AM +0200, Vlad Galu wrote:
>> Hi,
>>
>> as per http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36612, could one
>> please apply the following patch?
>
> the patch in question seems to be GPLv3, we cant apply it then...
>

Actually, I only followed their suggestion and made the patch myself.
Ofc, it most likely looks like their does. It's not theirs, though.
Could this work out?

0 new messages