Author: bapt
Date: Tue Oct 21 12:52:01 2014
New Revision: 273382
URL: https://svnweb.freebsd.org/changeset/base/273382
Log:
Fix build by marking the new functions as weak
This is a temporary fix
Modified:
head/contrib/libcxxrt/stdexcept.cc
Modified: head/contrib/libcxxrt/stdexcept.cc
==============================================================================
--- head/contrib/libcxxrt/stdexcept.cc Tue Oct 21 10:19:45 2014
(r273381)
+++ head/contrib/libcxxrt/stdexcept.cc Tue Oct 21 12:52:01 2014
(r273382)
@@ -82,13 +82,23 @@ const char* bad_typeid::what() const thr
return "std::bad_typeid";
}
+__attribute__((weak))
bad_array_new_length::bad_array_new_length() throw() {}
+__attribute__((weak))
bad_array_new_length::~bad_array_new_length() {}
+__attribute__((weak))
bad_array_new_length::bad_array_new_length(const bad_array_new_length&)
throw() {}
+__attribute__((weak))
bad_array_new_length& bad_array_new_length::operator=(const
bad_array_new_length&) throw()
{
return *this;
}
+__attribute__((weak))
+const char *bad_array_new_length::what() const throw()
+{
+ return "std::bad_array_new_length";
+}
+
} // namespace std
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"