Commit f325272c by Jason Merrill Committed by Jason Merrill

eh_personality.cc: Wrap extern C function definitions in namespace __cxxabiv1.

        * libsupc++/eh_personality.cc: Wrap extern C function
        definitions in namespace __cxxabiv1.

From-SVN: r115652
parent bd741f34
2006-07-21 Jason Merrill <jason@redhat.com>
* libsupc++/eh_personality.cc: Wrap extern "C" function
definitions in namespace __cxxabiv1.
2006-07-21 David Daney <ddaney@avtrex.com>
PR libgcj/28426
......
......@@ -326,6 +326,9 @@ empty_exception_spec (lsda_header_info *info, _Unwind_Sword filter_value)
return tmp == 0;
}
namespace __cxxabiv1
{
// Using a different personality function name causes link failures
// when trying to mix code using different exception handling models.
#ifdef _GLIBCXX_SJLJ_EXCEPTIONS
......@@ -748,3 +751,5 @@ __cxa_call_unexpected (void *exc_obj_in)
}
}
#endif
} // namespace __cxxabiv1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment