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
This commit is contained in:
parent
bd741f34c9
commit
f325272c07
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user