mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-14 04:29:37 +08:00
* libsupc++/eh_ptr.cc: Improve static_assert messages.
From-SVN: r208965
This commit is contained in:
parent
a283136a58
commit
0812493fc5
@ -1,3 +1,7 @@
|
||||
2014-03-31 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* libsupc++/eh_ptr.cc: Improve static_assert messages.
|
||||
|
||||
2014-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* testsuite/18_support/exception_ptr/60612-terminate.cc
|
||||
|
@ -48,7 +48,8 @@ template<typename Ex>
|
||||
|
||||
static_assert( termHandler<__cxa_exception>()
|
||||
== termHandler<__cxa_dependent_exception>(),
|
||||
"__cxa_dependent_exception::termHandler layout is correct" );
|
||||
"__cxa_dependent_exception::termHandler layout must be"
|
||||
" consistent with __cxa_exception::termHandler" );
|
||||
|
||||
#ifndef __ARM_EABI_UNWINDER__
|
||||
template<typename Ex>
|
||||
@ -57,7 +58,8 @@ template<typename Ex>
|
||||
|
||||
static_assert( adjptr<__cxa_exception>()
|
||||
== adjptr<__cxa_dependent_exception>(),
|
||||
"__cxa_dependent_exception::adjustedPtr layout is correct" );
|
||||
"__cxa_dependent_exception::adjustedPtr layout must be"
|
||||
" consistent with __cxa_exception::adjustedPtr" );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user