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-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to