Date: Tue, 21 Oct 2014 12:52:02 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r273382 - head/contrib/libcxxrt Message-ID: <201410211252.s9LCq2R5053286@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410211252.s9LCq2R5053286>