OSDN Git Service

PR libstdc++/56468
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 16 Mar 2013 20:22:40 +0000 (20:22 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 16 Mar 2013 20:22:40 +0000 (20:22 +0000)
* libsupc++/exception_ptr.h (type_info): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196711 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/exception_ptr.h

index 21444d8..282f320 100644 (file)
@@ -1,5 +1,10 @@
 2013-03-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
 
+       PR libstdc++/56468
+       * libsupc++/exception_ptr.h (type_info): Declare.
+
+2013-03-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
        PR libstdc++/56002
        * include/std/mutex (lock_guard, unique_lock, lock): Define without
        depending on _GLIBCXX_HAS_GTHREADS.
index b6fd08e..d9f8cc4 100644 (file)
@@ -44,6 +44,8 @@ extern "C++" {
 
 namespace std 
 {
+  class type_info;
+
   /**
    * @addtogroup exceptions
    * @{
@@ -141,7 +143,7 @@ namespace std
       operator==(const exception_ptr&, const exception_ptr&)
        _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));
 
-      const class type_info*
+      const class std::type_info*
       __cxa_exception_type() const _GLIBCXX_USE_NOEXCEPT
        __attribute__ ((__pure__));
     };