Commit 0812493f by Jonathan Wakely Committed by Jonathan Wakely

* libsupc++/eh_ptr.cc: Improve static_assert messages.

From-SVN: r208965
parent a283136a
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> 2014-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* testsuite/18_support/exception_ptr/60612-terminate.cc * testsuite/18_support/exception_ptr/60612-terminate.cc
......
...@@ -48,7 +48,8 @@ template<typename Ex> ...@@ -48,7 +48,8 @@ template<typename Ex>
static_assert( termHandler<__cxa_exception>() static_assert( termHandler<__cxa_exception>()
== termHandler<__cxa_dependent_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__ #ifndef __ARM_EABI_UNWINDER__
template<typename Ex> template<typename Ex>
...@@ -57,7 +58,8 @@ template<typename Ex> ...@@ -57,7 +58,8 @@ template<typename Ex>
static_assert( adjptr<__cxa_exception>() static_assert( adjptr<__cxa_exception>()
== adjptr<__cxa_dependent_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 #endif
} }
......
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