]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libstdc++/56468 (Clang exposes bug with unexpected forward-declaration of type_...
authorJonathan Wakely <jwakely.gcc@gmail.com>
Sat, 16 Mar 2013 20:22:40 +0000 (20:22 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sat, 16 Mar 2013 20:22:40 +0000 (20:22 +0000)
PR libstdc++/56468
* libsupc++/exception_ptr.h (type_info): Declare.

From-SVN: r196711

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

index 21444d81ba74ee8bd0ea312162812ba55e093b62..282f3204d18c6ac61ee1fe5f030d720bb63cec5b 100644 (file)
@@ -1,3 +1,8 @@
+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
index b6fd08e09a87f52ad1257c26a772caf155bf4d0c..d9f8cc44a57143107e68f1adb38dff2de8d47b9f 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__));
     };