]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* libsupc++/eh_ptr.cc: Improve static_assert messages.
authorJonathan Wakely <jwakely@redhat.com>
Mon, 31 Mar 2014 18:16:14 +0000 (19:16 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 31 Mar 2014 18:16:14 +0000 (19:16 +0100)
From-SVN: r208965

libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/eh_ptr.cc

index 37a9a1027751458ed071c62a7969ba3a4713be32..b1c0c60c638fe7cc26650ac038fa133e4e4b260c 100644 (file)
@@ -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
index 8c25a81ae4a97a24028bf5c08d0be192721844d6..f9743095e91d59ef64bf9cd4a76d87f635b87c4f 100644 (file)
@@ -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
 }