Date: Tue, 22 Jul 2014 20:32:24 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r268993 - head/contrib/libstdc++/libsupc++ Message-ID: <201407222032.s6MKWOd7088286@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ian Date: Tue Jul 22 20:32:24 2014 New Revision: 268993 URL: http://svnweb.freebsd.org/changeset/base/268993 Log: Fix EABI unwind function declarations to match the function definitions. The mismatch was noticed by clang, when using it to compile the in-tree gcc and libstdc++. Modified: head/contrib/libstdc++/libsupc++/unwind-cxx.h Modified: head/contrib/libstdc++/libsupc++/unwind-cxx.h ============================================================================== --- head/contrib/libstdc++/libsupc++/unwind-cxx.h Tue Jul 22 20:13:46 2014 (r268992) +++ head/contrib/libstdc++/libsupc++/unwind-cxx.h Tue Jul 22 20:32:24 2014 (r268993) @@ -142,9 +142,9 @@ typedef enum { ctm_succeeded = 1, ctm_succeeded_with_ptr_to_base = 2 } __cxa_type_match_result; -extern "C" bool __cxa_type_match(_Unwind_Exception*, const std::type_info*, +extern "C" __cxa_type_match_result __cxa_type_match(_Unwind_Exception*, const std::type_info*, bool, void**); -extern "C" void __cxa_begin_cleanup (_Unwind_Exception*); +extern "C" bool __cxa_begin_cleanup (_Unwind_Exception*); extern "C" void __cxa_end_cleanup (void); #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407222032.s6MKWOd7088286>