Date: Sat, 19 Dec 2009 09:28:55 +0200 From: Vlad Galu <dudu@dudu.ro> To: freebsd-hackers@freebsd.org Subject: Small libstdc++ change required Message-ID: <ad79ad6b0912182328y2bf19346g6057dbee0a4d8bc8@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ad79ad6b0912182328y2bf19346g6057dbee0a4d8bc8>